docs(registry): rotate/add registry pull secrets through SOPS #47
Loading…
Reference in a new issue
No description provided.
Delete branch "docs/registry-sops"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Docs-only follow-up to #43.
PR #45 (SOPS) landed
secret-forgejo-pull.sops.yamlfor all four namespaces while #43 was inflight, so the Secrets are now Flux-reconciled from git rather than out-of-band. The rotation
and add-a-namespace recipes in
docs/registry-pull-auth.mdstill told the reader tokubectl create secret, which the nextappsreconcile reverts.sops decrypt | jq | sops encryptonapps/base/<ns>/secret-forgejo-pull.sops.yaml;registry-readertoken is non-expiring and that a rotated value is picked upon the next pull without a pod restart.
Verified after the SOPS apply: the four live Secrets are labelled
kustomize.toolkit.fluxcd.io/name=apps, still decode toregistry-readerwith a matchingauthfield, and a fresh
imagePullPolicy: Alwayspod pulledsirius/nats:2.10successfully.