homek8s/apps/base/customer1/secret-odoo-admin.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

24 lines
1.4 KiB
YAML

apiVersion: v1
data:
email: ENC[AES256_GCM,data:gI6NwFOxqUnFQzfXQJhvsv+zsFmw9RA5OwnglQ==,iv:Bb4TDSiS1OVNQAXBviA8Dw/kdi09K1uQl/4SVOijC1o=,tag:ThcEMoBBc7yl4RXqyIlb1Q==,type:str]
password: ENC[AES256_GCM,data:6u9gNzQtqDPDN/TyfqzcahX63JOoaKkph4Tgcsz7cSGRt/qpR/Vintnc+VbUeNhLIz8k1P3AI9XkWM1f25qEJQ==,iv:hhtJRFJFUZ4HR+6Cu8rhNdA5tb4g5V3xjMnNy6TTiUY=,tag:Ot84YjRft7xN63XNopRLgQ==,type:str]
kind: Secret
metadata:
name: odoo-admin
namespace: customer1
type: Opaque
sops:
age:
- enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBBNEd1MjlVU1Yzem1yWTdk
ZUZhdkc2VThWM3RrT1lUT1BYb3J3WmhKMVFzCjQzcjJsdGdDMHVzajlNUW42OWNi
VVdqM3pKd2hEelhHQmpHMjh1SW51N28KLS0tIHQxb3Y0M25ZYzFrNXJYVU4wS0Fw
N0hrUHhPc1YwaUxrU0RyY2JsbGIyM0EKhdd2YP9REMTNaQDMSZ9iZVoWmHysjLJv
y1jhciBxTpHP384gdJE2wDQftKvAkLtNMh2og0oZdHJnlQybP+CELA==
-----END AGE ENCRYPTED FILE-----
recipient: age12zdn7x72zrgu9cdv8wdj7xfx42nz09nrwpc2g09cwx5fwdm0ry6qp5h4jp
encrypted_regex: ^(data|stringData)$
lastmodified: "2026-11-27T05:16:45Z"
mac: ENC[AES256_GCM,data:L3RbLA3LdN6uV9NEKtjLpNNwFkBAvXdyT/A3EpYBzmM+3Vj6gFSg8NRSw1ttO4mlCIuebKqJ7rp1MUj0vx4VrnhDt8N/XSOuSh72XRFZpqjVSp9tXnJx6y3TkPo0+87kchFQC2i7MO9ysxKyNbhRQ8Fte7NDE73TM5K7Tbes6sM=,iv:C18NRt2JEBmZRZprpQr4YZNEUVto+sE0G+ZCQ4MU1tA=,tag:4YXb06SVaZkGO1y7LSnKdw==,type:str]
version: 3.13.3