homek8s/apps/base/piedmont/secret-forgejo-pull.sops.yaml
Sirius DevOps c8f0834886 secrets: bring 29 hand-made cluster Secrets under Git via SOPS/age (audit F12)
Nothing in the cluster was reconciled from the repo: 67 hand-made Secrets and no
managed Secret at all, so a restore of this Git tree produced a cluster that would
not start. This commits the first-party ones as SOPS/age ciphertext and enables
Flux's sops decryptor.

* provider: SOPS + age (chosen over SealedSecrets: Flux already ships the sops
  decryptor, so no extra controller/CRD, and the age key is escrowed off-cluster).
* 29 Secrets across forgejo, siriusdevops, piedmont, sirius-growth, osint,
  metabase and customer1, as apps/base/<ns>/secret-<name>.sops.yaml with
  encrypted_regex ^(data|stringData)$ — names/namespaces stay reviewable.
* each file was generated from the LIVE object and decrypts to a byte-identical
  data map and type, so the first apply is a no-op (not a rotation).
* the CNPG bootstrap secrets (forgejo-pg-app, pg-app, sirius-growth-portal-db)
  are ours, not operator output — bootstrap.initdb.secret points at them, so a
  rebuild has no application password without them.
* forgejo-pull is included despite docs/registry-pull-auth.md calling it
  out-of-band: with imagePullSecrets on every workload it is the one Secret whose
  absence stops the whole cluster from pulling images.
* .gitignore keeps **/*secret*.yaml ignored and re-includes only .sops.yaml, so a
  plaintext Secret still cannot be committed; age.agekey stays ignored.
* excluded on purpose (controller/helm-owned): CNPG *-server/*-replication/*-ca,
  cnpg-system CA+webhook, cert-manager webhook CA, cilium/hubble certs, helm
  release records, prometheus-operator rendered prompts. Full table in
  docs/secrets-sops.md.

Key locations (never in git): Secret flux-system/sops-age (age.agekey) and
/root/sops/homek8s-age.key on the Linode, reached only over the mesh.
2026-11-27 00:18:14 -05:00

23 lines
1.6 KiB
YAML

apiVersion: v1
data:
.dockerconfigjson: ENC[AES256_GCM,data:cn2e8WXbtnYELrwUJr6rhgMiOHsQnbL34fJHV+yr3B1Z5WEkPeq/kduh9wcjV0dlPg4cYEczqAH7GQm4f+jIx3FlMvtaftZz195HB38srxzcUzUhc6ZF8Iz7h0cZoOB7Vi0nre+FZCZTXQhuSEYuC97H+6pvDluUqAHBvdrHogWmcAb3PEw9i/sfn1bUC7TZoGXy3MBIuTYlDFid/gkX3dIzPQkKRcZsgrNgztwCIHFADWxfzQwTmWOztYrip1y1UgUhkqfTv38qIa+VI7SpM1gztbxX9lsMv3rO/uTlRqGaogPSC4vYpwWcB3uAL0zpTf79QKlhGKAHiA5dXhVkp3ijVBrkf8F1biaivCGeAGLqEK+yeM1UVNZb2IhFErf/,iv:wWaqHXaQyrNYHCiYNvHp7REYTSmYqu/Vl9SP4ptZtPo=,tag:rzU+lCaLyRvCHutae+S4ww==,type:str]
kind: Secret
metadata:
name: forgejo-pull
namespace: piedmont
type: kubernetes.io/dockerconfigjson
sops:
age:
- enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBLTmVRS0RaNW0rQzhUODRI
RGFBdDdwdFRsUGt4MVZRdEwzS2Y5d3kxbXlRCjdyRmlUcG90eGU0STVrcVZDVm9R
Nk04UUt1RmUrQnp2QU4vUlY5TmZCQVUKLS0tIGZqSWp4ejBWMzhvWDEzc2lmbWx4
b21IdElIRWJUOXZZcm1KLzh0ZHQyRWsKWmi0BF33Y5u++jtjO2ypEenYWybtrU9d
HC8TWALXS4OBRWG4T8AHD1YS+lG+ZhdBYiudyIPniYTMaAblVl8RAg==
-----END AGE ENCRYPTED FILE-----
recipient: age12zdn7x72zrgu9cdv8wdj7xfx42nz09nrwpc2g09cwx5fwdm0ry6qp5h4jp
encrypted_regex: ^(data|stringData)$
lastmodified: "2026-11-27T05:16:43Z"
mac: ENC[AES256_GCM,data:9zgfinHIb+SOmOIat00bm/oxste1sLA2kOfNtuqAD5mUQ3Ud+zB2YZjOMm5LTN1QU7tc9JAsJ78fgt9P3Dzq5WR+nGIHpE5BqrjmCzV1PPEDvAG8UaKG8B5Ri4NKY2jrJfalai+bwF7fsf+ekS4w/f2av1nVKwAcV/JCxgNg44I=,iv:XfS6wEza4zAcP9a7Mu69X1ye8pgLFW9OZSmszbqRMKM=,tag:mrXNxFCbAOvOYL11fGazcA==,type:str]
version: 3.13.3