feat(argocd): wire SOPS ConfigManagementPlugin properly — initContainer installs sops/yq, sidecar decrypts *.enc.yaml into app Secrets

Correct CMP setup (prior attempt used unsupported config): repoServer.initContainers
fetches sops v3.9.0 + yq v4.44.3 into a shared volume; repoServer.extraContainers
runs argocd-cmp-server with plugin.yaml from the sops-cmp-plugin ConfigMap, age key
from sops-age Secret. Plugin emits authentik/loki-s3-creds/grafana-admin/grafana-oidc
Secrets from decrypted enc files. sops-secrets Application (wave 0) uses the plugin at
repo root. Unblocks authentik/loki/grafana which were Degraded on missing secrets.
This commit is contained in:
Story Crater Bot
2026-07-20 13:13:47 -07:00
parent ce1fc4e296
commit d6f5b9ed69
3 changed files with 132 additions and 2 deletions
+3 -2
View File
@@ -19,7 +19,8 @@ spec:
source:
repoURL: http://forgejo.riotpiao.com:3000/riotpiao.com/homelab.git
targetRevision: main
path: k8s/security/sops-secrets
directory: {}
path: .
plugin:
name: sops-secrets-v1.0
destination:
server: https://kubernetes.default.svc