homek8s/apps/base/sirius-growth/secret-sirius-growth-blog-s3.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

27 lines
1.9 KiB
YAML

apiVersion: v1
data:
access-key: ENC[AES256_GCM,data:BtN7ZYQGm7A6tsBOAMtjtnnJ2ZyCEZiq/6uEWeX4DHy5odX9,iv:0zqKRhHNfw2bv4lMPaHFork9gF+cCTIHCyrM0HtBu0k=,tag:cqvknMjaZzjnyAX6zJ0eYg==,type:str]
bucket: ENC[AES256_GCM,data:tMWUruYwF2hm3rLjl3o1E2BKvpBovVd4znml06lhTpk=,iv:RbHt9Ixr/HEv+ltz57/SCIBEUjjCkNe+wZYKrqieTCU=,tag:epB2Hze7XTAY6Y4AosXQRQ==,type:str]
endpoint: ENC[AES256_GCM,data:3SenxTQo0dclXi8CuV9m0MTJjEFAQwgM4F40QA==,iv:IaJ+sXMaT4IY1DvzjdWV0zAZP8AT18ET1Xm/FD9j8ls=,tag:SRkXngDoQJ/z09AAc3wKZQ==,type:str]
region: ENC[AES256_GCM,data:QBD5OjJUjmE=,iv:tKkFWn/qHhytbAN8gJc5qHC8NR7RmSwaAC3wZv6zklU=,tag:zuhx6B4zn1wSZ7spR3UDRw==,type:str]
secret-key: ENC[AES256_GCM,data:DwyLvmvYpHtflz6em+vIYFM1fAfrHYunRRnl7vpjG+LyE2m/sJQRP5OFGmIggWoiDiz53xCoMTyXXlwheXvLqUe6qy6uicJ2mftjsbjx2OFy0Z/alJzNHw==,iv:gl3bUTMqhQ4bSefvq/r0uQwZ81+m3JZNIxUAruq7XtM=,tag:F3BKwFB1Pjnft/trtk8/6g==,type:str]
kind: Secret
metadata:
name: sirius-growth-blog-s3
namespace: sirius-growth
type: Opaque
sops:
age:
- enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSA3dE1HQ3RWTFJubW5SeU9S
R2ZNYXhNbDVWSDhQWlM0bVNCaWQ1aHV6TEN3Cnp6elpDUkJnV243YjhWQnZXOFBW
bnFYcGY0VTN2aWUzNVl1V3Q1RDI4VmcKLS0tIDAzbnhabVVmOWlSTmNXZ1MrTXUv
c0N0a1hXNTNTdkVjekFid1BXNTU1alEKH7dMTV3thHyo4b/Qnr7F4PmK5XEn4fFA
NJTaVnfqrmDfHjtOBl+D7xR0TnsJGhm0QN8n85mZOs/Ye5Ad1z1zeQ==
-----END AGE ENCRYPTED FILE-----
recipient: age12zdn7x72zrgu9cdv8wdj7xfx42nz09nrwpc2g09cwx5fwdm0ry6qp5h4jp
encrypted_regex: ^(data|stringData)$
lastmodified: "2026-11-27T05:16:43Z"
mac: ENC[AES256_GCM,data:o9fPTAsNSJ3zZ73Js5oxLCA94n5EHl2wuNfpDX6ADPPM1sRKes1IXCUV803ntWuyKYSa4SOeqSRxmyQobAjLwAfY6SCQA3ICrsZ1Y28Q+1XnpXapQQj/eCOKkg3yvGV/6k8SHxn9xPPatYSYlPSfShpl4NS/ir5NkLnTIW6f4OM=,iv:lLmi9HRrb3Tfw/R7mxGJAGSd7fOETy5orLIk4zP4d38=,tag:xsYWzmDfJezbqZZ2fuZU9A==,type:str]
version: 3.13.3