Vault IaC: forgejo/firefly CNPG DB secret migration walkthrough #1517
Labels
No labels
epic
fleet:hub
fleet:identity
fleet:ingress
fleet:offload
fleet:sveltos
needs-triage
ready-for-agent
ready-for-human
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lab/clusters#1517
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
forgejo/firefly CNPG DB secret migration — walkthrough doc
firefly and forgejo currently read their DB password from Vault keys (
firefly-root-values/forgejo— values.yaml blobs), where a human has manually copied the CNPG-generated-appsecret password.Decision
Adopt the CNPG/ESO native integration (cloudnative-pg 1.30.0 docs: cncf-projects/external-secrets) — ESO
Passwordgenerator owns the DB password,ExternalSecretwithcnpg.io/reload: "true"keeps the CNPG secret in sync,PushSecretmirrors to Vault. This removes the manual copy and adds scheduled rotation.But not yet. At the time the firefly/forgejo helm charts were set up they had busted chart configs and did not cleanly support a
fromSecret-style interface — the secret part of the values file was stored in Vault and merged. Migrating needs a careful, chart-specific review.Work items
firefly-root-values/forgejoVault keys and whether they now supportexistingSecret/fromSecret-style injection (or a per-key lookup).Related