homek8s/apps/base/osint/secret-forgejo-pull.sops.yaml

23 lines
1.6 KiB
YAML
Raw Normal View History

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:17:47 -05:00
apiVersion: v1
data:
.dockerconfigjson: ENC[AES256_GCM,data:d+Qwhs0BLzcJDRecSw3Ij7lJNet7NPZOvMMDcIXHFTT6rzSn9UNVWuRXk4M7LBk/ovJputnUuV2sfUf0XOfvGKzDRBueOBmJKErnO8bcHtN3Nyw/jwziCRAbqV2lNNZ1g5WAyI/G8W386n7vBEZp5GgGdoJHSRQnIXa5TW/XLHRG2ad1fcRXpp3QppDUe1ykH0v+kcl73Xs7oCe9BtYiRI5/H9B8eQw0IIHem4zWDVELbfury86V4vyHfkCG3wveEHGxib2W0IsMmAmPRVzuL1GJCIDcMomQRHTJhK1nMQUDtmhgRXg5wIwy9w6w0FPfX7Qu31TCT22V6X+gOirALstSTrYR4Chi8QIfCypQh5f3J7TGhdWkbA7rYbJZKy1N,iv:K9BsNRmd4cmLlBg/h5Azl22SStUODiCBHA78W6gX+2M=,tag:/p1Yw6IsbQGWltDbzA3bbA==,type:str]
kind: Secret
metadata:
name: forgejo-pull
namespace: osint
type: kubernetes.io/dockerconfigjson
sops:
age:
- enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBxbUlrR3ZNTTJJSTJleEdZ
RytMeS81RjhtUi9CbHk5K2EzTi96UnplaWowCkhhWng1R2w4UkdvYm5XU2VDNHJ4
eWFicUVOOFZqaEQ5RnhxMWVCdkU4aXMKLS0tIDRXRWpkT2tTZ3JiQXRXclg2eUl3
bGhjak1ueWdMOXdtc2hDL0p3aDBiaDAKEDY5tZnpYcJSjLIY5DcZ28GNdlTRt2QX
cdKQh0ddKwdWu2BuSOtMwgNjB0c1mSdZPAXtIVGeORSDLf//FVfJ/w==
-----END AGE ENCRYPTED FILE-----
recipient: age12zdn7x72zrgu9cdv8wdj7xfx42nz09nrwpc2g09cwx5fwdm0ry6qp5h4jp
encrypted_regex: ^(data|stringData)$
lastmodified: "2026-11-27T05:16:44Z"
mac: ENC[AES256_GCM,data:qVmV+yQSgcShahLRN0I4niDEtYjjGNINLeJPZoKTA8BaKYnvHok8Bj473DW88+TGujLwqhg9mZIOP6pZRBvFks0Ue+NFkE0m9/OHfglCStp/+E9N9C6w0CDITBOpD8jmgOJoK57xseMskLCJmTfIbzN0Afln+m9NZYfPW1fWehY=,iv:3Mq1uXwQZOvZ5uiCfo1lTcobvFqZH9KXShUUQ7Z0aQw=,tag:vMtBilXeLmgFppwNxx6BBA==,type:str]
version: 3.13.3