Before you start
#- Staging cluster. Use a Kubernetes cluster with one existing Argo CD-managed app in a dedicated workload namespace and a Linux x86-64 (AMD64) node for the verifier.
- Tools and access. Use Helm 3 and kubectl with the staging context selected. Have a platform operator able to install the chart’s scoped RBAC and create resources in the workload and Argo CD namespaces.
- Target configuration. Fill in
target.jsonwith the Kubernetes API endpoint, Argo CD application and namespace, workload namespace, Deployment, container, eligible node names, image repository, and reachable HTTPS version endpoint. The endpoint must return the build ID embedded in the application. - Fresh approval record. Fill in
approval.jsonwith the approved Git revision, image digests, expected build ID, and a current UTC approval window. Prepare both files before the window starts.
Use the templates in the repository’s config/samples directory. The chart and compiled verifier image are public on GitHub Packages and can be pulled directly without signing in.
Install and run with Helm
#Run the command from the product repository checkout after Argo CD syncs the approved release to staging. Use the namespace from target.json and start within the approval window. Chart version 0.1.0 pins the Linux x86-64 verifier image by digest.
export STAGING_CONTEXT=team-staging
export APP_NAMESPACE=catalog-staging
export VERIFIER_REPOSITORY=ghcr.io/techixora/gitops-release-verifier-ce
export RUN="verify-$(date -u +%H%M%S)"
helm --kube-context "$STAGING_CONTEXT" install "$RUN" oci://ghcr.io/techixora/charts/gitops-release-verification \
--version 0.1.0 \
--namespace "$APP_NAMESPACE" \
--set-file targetJSON=target.json \
--set-file approvalJSON=approval.json \
--set-string image.repository="$VERIFIER_REPOSITORY"The chart creates the scoped read-only access and starts one verification Job. When the Job finishes, use Python 3 and the repository’s extractor to collect report.pdf and report.json from the logs. Uninstall the release after retrieving the evidence.
kubectl --context "$STAGING_CONTEXT" -n "$APP_NAMESPACE" get "job/ixora-$RUN" --watch
# Stop the watch with Ctrl+C once Complete or Failed, then run:
kubectl --context "$STAGING_CONTEXT" -n "$APP_NAMESPACE" logs "job/ixora-$RUN" > verification.log
python3 scripts/extract-reports.py reports < verification.log
helm --kube-context "$STAGING_CONTEXT" uninstall "$RUN" --namespace "$APP_NAMESPACE"Alternative Kubernetes manifests
Use the manifest walkthrough to render the scoped access and run one verification Job with kubectl.
Kubernetes walkthroughIdentify the approved image
#Record the complete digest with the image and target platform it identifies. A tag can be moved; it is not evidence that the approved image is what ran. The values below are illustrative, not a release manifest or an install file.
{
"application": "inventory",
"namespace": "demo-staging",
"workload": "inventory-api",
"container": "api",
"approvedGitRevision": "example-commit",
"approvedImageDigest": "sha256:a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1"
}Inspect the running workload
#Use the Argo CD application to identify the target deployment and the pods that belong to it. If using the CLI, verify your context, then substitute an authorized non-production context, namespace and pod name. This command only reads pod status.
kubectl config current-context
kubectl --context YOUR_NON_PRODUCTION_CONTEXT -n demo-staging get pod YOUR_POD_NAME \
-o jsonpath='{range .status.containerStatuses[*]}{.name}{"\t"}{.imageID}{"\n"}{end}'Match the container by name and record the image identity from every active replica. Some runtimes return platform-specific manifest or configuration digests; compare only identities that refer to the same digest type and platform.
Recheck after reconciliation
#Record the intended and observed revisions separately. Once reconciliation and the rollout have settled, check the active replicas again and record the time of the observation. Synced does not mean that the approved digest is running.
Read the verification report
#A match means the approved and running digest agree in the same scope and the result was checked after reconciliation. A mismatch means comparable digests differ; an inconclusive result means the evidence cannot justify either answer.
{
"example": "synthetic teaching data, not a Community Edition export",
"approvedImageDigest": "sha256:a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1",
"runningImageDigest": "sha256:a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1",
"recheckedAfterReconciliation": true,
"verdict": "match"
}Troubleshoot a result
#| Symptom | What to check |
|---|---|
| Argo CD is Synced, but digests differ | Confirm context, application, Git revision and container. Compare the approved and observed digests, not just tags. |
| Active replicas disagree | Check whether a rollout is still in progress. Wait for the intended rollout to settle and then recheck the active set. |
| The image ID is missing or a different kind of digest | Confirm read access and verify which identity the runtime reports. Record inconclusive when the evidence is not comparable. |
When asking for help, describe the expected and observed result and include your Argo CD and Kubernetes versions. Omit credentials, private URLs and sensitive logs.
Contact TECH IXORA with a questionRepository and release resources
#Use the product repository for release notes, setup files, and license terms.
- Repository README
- v0.1.0 release
- License
- Kubernetes: container image names and digests
- Argo CD: automated sync and reconciliation
