Loading...
Loading...
Safe-change playbook for the darkmatter/gitops repo — validation before commit (kubeconform with CI-identical flags, yq for YAML manifests, jq for SOPS JSON, git diff --check), sha-pinned images, KSOPS/SOPS secret editing rules, rollback via revert, and how ArgoCD reconciles. Use for ANY change to darkmatter/gitops (manifests, Helm values, apps/*.yaml, secrets), when asked to bump an image tag, wire a secret, or roll back a deploy. Also use when tempted to kubectl apply/edit/patch anything — the answer is no.
npx skill4agent add darkmatter/skills darkmatter-gitops-conventionsdarkmatter/gitopskubectl apply/edit/patchhelm upgradekubectl rollout restartarc.darkmatter.io/reconcile-at: "<current UTC timestamp>"git revertkubeconform -strict -ignore-missing-schemas -summary <changed manifests>
yq eval '.' <changed file> > /dev/null # syntax parse
git diff --check # whitespace damageapps/*.yamlyq eval '.spec.sources[0].helm.values | from_yaml' apps/<app>.yaml > /dev/null|| trueset +ePIPESTATUS[0]sha-<40-hex>latest*.sops.json*.sops.yaml.env.sops0600jq emptyyq/operationIgnoreExtraneousPrune=falsebd create