diff --git a/content/blog/2025-08-29-new-common-makefile-structure.adoc b/content/blog/2025-08-29-new-common-makefile-structure.adoc index 51d6fac36..6ac92e111 100644 --- a/content/blog/2025-08-29-new-common-makefile-structure.adoc +++ b/content/blog/2025-08-29-new-common-makefile-structure.adoc @@ -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`