homek8s/apps/base/metabase/secret-metabase-data-source-creds.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

34 lines
2.9 KiB
YAML

apiVersion: v1
data:
forgejo-dbname: ENC[AES256_GCM,data:gmo/OBPxeaP9Fipp,iv:Ox4X0Rarty34CIqGCjq8BEKWtqnHl6HYhg5xCMcJWTE=,tag:/B/acow8oHArOzUCCXN83A==,type:str]
forgejo-host: ENC[AES256_GCM,data:SV7TR0efatA7tEoXWxYIvFAusxvzQ+we8AUPgaBbWOyxc3ELNSCIGOUT+f4=,iv:FxusrKEyCO9QnHhA5eTGRZ2a7dBLBJvvp28E1juRRG0=,tag:jGNv9x6IJBx+iouX4Uou5w==,type:str]
forgejo-password: ENC[AES256_GCM,data:PO6aePZCvedhgNOfuQqGevdrTh1cfTdXYf+Rdexb/uVBSnWTkL6gIg==,iv:T+l5cf/yilZG4Z0tnnHhsftOboQXCBLASKJimh2LUbc=,tag:Uw2vPOExu2D9HDWXSu3iPg==,type:str]
forgejo-port: ENC[AES256_GCM,data:F7H6ChWTeAY=,iv:YUdaHOFEiEz7ZeIyfeC1VWTFQNNoIGaZrmPwlzqMVJs=,tag:l6qT/AWoIIqTZ40Pc9lw9A==,type:str]
forgejo-sslmode: ENC[AES256_GCM,data:BU3vfFVDLkuTZV3E,iv:kDmERO+Gl6D9bX7rkJg6U9Z+g+EKKLlZ7wIBr2VYfLM=,tag:yjcqdBXhJrrU/FJ/Nf6+YA==,type:str]
forgejo-user: ENC[AES256_GCM,data:aJPzpcz5u3Sh1RhcQK3qog==,iv:aodz6CpcBSQL9fgdEJIg69iZHoYc3OCSExG5HeXILjE=,tag:CxAUC7WxS5QLEhY3lVw9qg==,type:str]
portal-dbname: ENC[AES256_GCM,data:0Ti0JmAoS6Y=,iv:qIcLJlZERTwgIOepcBlnXmOgCg65RGXfyC46I9Fovgk=,tag:8RxJYWHrV/vLWSz05Ac9vw==,type:str]
portal-host: ENC[AES256_GCM,data:h6tPmzff8EJ8Ql+WQYOVrEPwQRob1+HKCjLQMsUnLgMSY2+f60dMDz7hLnrUmHFPxxvoJgU7CoM=,iv:et5rzeL4gJHbPCGZ7kQUuM/QP7oJFe9Q+P6POvg/A8E=,tag:nRI8FfVZ390tXhHTGHROCg==,type:str]
portal-password: ENC[AES256_GCM,data:DrZWsGK/f85EHAPepblr/hBPA/dihnz1Kn3bJzYC3gVxgpAcH+dMMw==,iv:hu/d9jTn2vbY27/R47PhA+WofZlT+wyXH26XHnzNMmQ=,tag:VsaO0yzgq98XUicoHZx78A==,type:str]
portal-port: ENC[AES256_GCM,data:SVCVoBJYfS0=,iv:eX6Cs9A2rcqNNFk9K98rBUc3rmwros0TUSOJSm845HI=,tag:BbUr0/piTIEnlU4nqnpZZw==,type:str]
portal-sslmode: ENC[AES256_GCM,data:7ubXQi4spO0NfIgu,iv:2cRu2i3wkMH/iDqn7n83GFFQZWI4OiVoxX+tYDUA5b4=,tag:6gRNiqkNTCOnjjpFQp1EHw==,type:str]
portal-user: ENC[AES256_GCM,data:HUfMGD0WAvmJtJ6JuLH6pA==,iv:Mk8H1L+MJQaog2nqLjT2mMOHa1vglRBq+c/wf+lZEuA=,tag:QzMABZMDoTtI31+2qj+aBA==,type:str]
kind: Secret
metadata:
name: metabase-data-source-creds
namespace: metabase
type: Opaque
sops:
age:
- enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBkWmJjUXJRNWp3dXo4TXdG
YnlWWW9GZEo0TVdDOFdNTkhhZDM5S3dENWk0CkErU1AxbkFkNEFXUDRvY0l0RS95
RndhcXhCWmE3RmhhYXpkWUR5ci9TWlkKLS0tIDFWUFlpWEZlWnljNENwakY1cGxl
ekNHcFRiOCtLME42ZXlxbzY3cjZSZlEKLnBl2Itg/66k3jVj9qf7mw4LNa2e1nvp
ANamRxri3UhgVPH6n7E8avoxhzcPmtk313ySDM7Ooi5+wu7naAP2MA==
-----END AGE ENCRYPTED FILE-----
recipient: age12zdn7x72zrgu9cdv8wdj7xfx42nz09nrwpc2g09cwx5fwdm0ry6qp5h4jp
encrypted_regex: ^(data|stringData)$
lastmodified: "2026-11-27T05:16:44Z"
mac: ENC[AES256_GCM,data:TsWeIy/VbxnlxtWBFv4vF2lY0CPPO7eJlSRBFnEDmN3nLkj/IZ4/4BC7UeHsw+fETgU26qq/PGc547rR98qYwcDZvT0OwQRrB1Eqdx9P3673tXrxU4Wy5mvICQoSHFjKqLZ/k/fWawudlG4/fgHhHScTcNDZ+iaxtNcc43Evhmg=,iv:fOLCtNDfiUPCgZL9SYO6YxdMOSJZbtW8WdxJHGH7AEY=,tag:gcJDXghgLSqxu6YkBgpA7Q==,type:str]
version: 3.13.3