homek8s/apps/base/siriusdevops/secret-siriusdevops-contact.sops.yaml

24 lines
1.4 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:
TG_CHAT: ENC[AES256_GCM,data:E5cxci96oZ0NoM2iq8FrAQ==,iv:7nox/CI/oFbOQkvagBtdBDA+3WJbxDlpUlTKtjAJva0=,tag:+kOWy2KGvulk5tySAF5/cw==,type:str]
TG_TOKEN: ENC[AES256_GCM,data:AXPJu/cwUVqNerbhcQxxQ8OUSwukqeE28t+1n5hcFOJ76xlx/U6mcZ3rZDn/Pr3UgUDiiNUC5ja63Z/XRCHwLw==,iv:2MRHNh7waV5hwzsDR7Wn4RR99NiAI6CyAqiwznkAH8o=,tag:sR0OXmISsBgzMTkw3SW78g==,type:str]
kind: Secret
metadata:
name: siriusdevops-contact
namespace: siriusdevops
type: Opaque
sops:
age:
- enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBnOEJtK3FYUFlyM0lwU3hG
c2F3TUNyS3B3UjdMMUdzQjU3UjFicUM0TGxJCmZRYjVPVEhmWFhIazNNcFBzMHVS
VWFKaXU4OEZiLzQrdlNWcWJRbld2b0kKLS0tIEVOSG9YelF6aUx1dXFXS3FXbEhU
eXNKdER5ZlVsbHJETkxEZ1JaT05PcEEKR7qlnvNhIrgF6UuQXaRhvG2+z16WRkZI
F8Pw7QXDIr1m961OTupvAvswuDB0GR146y18iZefD+v/udIam9EVeQ==
-----END AGE ENCRYPTED FILE-----
recipient: age12zdn7x72zrgu9cdv8wdj7xfx42nz09nrwpc2g09cwx5fwdm0ry6qp5h4jp
encrypted_regex: ^(data|stringData)$
lastmodified: "2026-11-27T05:16:43Z"
mac: ENC[AES256_GCM,data:nSJoyIps1Xd3aNj0DPceEWypdU+y8zh2NFOsQ5A2LAkeDFblwwG93ECvThw0JeWSHL6B3X9xIi3ZqLFy72owtcKI3idOLQ/WG3OycCJ4YZ4WnfobPDIsR2nd+x54rLL7TXOw1+lE8WCh2SEv1Ytg0lFZ/jrFUzy5e7CLHe0PZyU=,iv:CGLhOySEWCnnhoPd+oURkSBYKUF/gDcL4w5A/pw0Y4k=,tag:dCHJnIZ0PJK9OiK95kMt5A==,type:str]
version: 3.13.3