Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions content/blog/2025-08-29-new-common-makefile-structure.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,48 @@ Ensures you are logged into an OpenShift cluster and that a storage class is ava
This prevents failed installs due to missing cluster prerequisites.
Invoked automatically during install but may be run manually for a quick sanity check.

=== `make validate-schema`

Validates that all `values-*.yaml` files in the pattern directory conform to the clustergroup schema using Helm template validation.
This helps catch configuration errors early in the development process.

The validation process:

* Finds all `values-*.yaml` files in the pattern directory
* Runs `helm template` against each file using the clustergroup chart
* Reports any files that fail validation with specific error details
* Provides the exact command to reproduce failures locally

==== Overrides

[cols="2,2,4,1"]
|===
| Ansible var | Environment var | Purpose | Default

| `pattern_dir`
| `PATTERN_DIR`
| Directory containing the pattern repo to be validated
| current working directory

| `clustergroup_chart`
| `CLUSTERGROUP_CHART`
| OCI URL for the clustergroup chart used for validation
| `oci://quay.io/validatedpatterns/clustergroup`

| `extra_helm_opts`
| `EXTRA_HELM_OPTS`
| Extra arguments to pass to `helm template` during validation
| empty
|===

=== `make argo-healthcheck`

Validates that all ArgoCD applications in the cluster are in a healthy and synced state.

This target uses `oc` commands to query the status of ArgoCD applications and reports any that are not both healthy and synced. It operates against the cluster you are currently logged into—you can verify your current cluster context with `oc whoami --show-console`.

This is useful for verifying that your pattern deployment has completed successfully and all applications are running as expected.

[[make-load-secrets]]
=== `make load-secrets`

Expand Down