Add Terraform-managed Postgres DB secret for pal-e-docs namespace #23
No reviewers
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-platform!23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "22-paledocs-db-secret"
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?
Summary
kubernetes_secret_v1.paledocs_db_urlresource in thepal-e-docsnamespace containing theDATABASE_URLfor the paledocs Postgres userpaledocs_db_passwordsensitive variablecnpg_s3_credsChanges
terraform/variables.tf-- addedpaledocs_db_passwordvariable (type = string,sensitive = true)terraform/main.tf-- addedkubernetes_secret_v1.paledocs_db_urlresource in the CNPG section, aftercnpg_s3_credsTest Plan
tofu fmt -checkpassestofu validatepassestofu planshows only the new secret resource (1 to add, 0 to change, 0 to destroy)kubectl get secret paledocs-db-url -n pal-e-docs -o jsonpath='{.data.DATABASE_URL}' | base64 -dpaledocs_db_passwordtok3s.tfvarsbefore applyingtofu plan output (targeted)
Review Checklist
Related Notes
plan-2026-02-26-tf-modularize-postgres-- Phase 3, Part A