Remove app-level CNPG resources from platform #17
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
ldraney/pal-e-platform!17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "16-remove-app-level-cnpg-resources-from-pla"
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
Changes
terraform/main.tf-- Removed 4 resource blocks:kubernetes_manifest.cnpg_cluster,kubernetes_manifest.cnpg_scheduled_backup,kubernetes_secret_v1.cnpg_superuser,kubernetes_secret_v1.paledocs_db_credentialsterraform/variables.tf-- Removed 3 variables:paledocs_db_username,paledocs_db_password,cnpg_superuser_passwordterraform/outputs.tf-- Removed 2 outputs:cnpg_cluster_name,postgres_internal_dsn. Keptcnpg_namespace(shared infra)terraform/k3s.tfvars.example-- Removed 2 example values:paledocs_db_password,cnpg_superuser_passwordPreserved (shared platform infra):
helm_release.cnpg(operator), namespaces, MinIO bucket + CNPG IAM,kubernetes_secret_v1.cnpg_s3_creds,output "cnpg_namespace"Test Plan
tofu fmt -checkpassestofu validatepasses (Success! The configuration is valid.)tofu state rmthe 4 removed resources, thentofu planconfirms clean stateNote: Do NOT run
tofu planortofu state rmuntil after merge on the main workdir.Review Checklist
tofu fmtandtofu validatepassRelated Notes
plan-2026-02-26-tf-modularize-postgres-- Phase 2b: cleanup platform