fix(cd): force delete postgres statefulset to allow storage changes
All checks were successful
CI Pipeline / Backend Build & Test (push) Successful in 57s
CI Pipeline / Frontend Lint, Test & Build (push) Successful in 34s
CI Pipeline / Infrastructure Validation (push) Successful in 5s

This commit is contained in:
WorkClub Automation
2026-03-10 21:54:26 +01:00
parent b204f6aa32
commit fce8b28114

View File

@@ -83,5 +83,8 @@ jobs:
# Ensure target namespace exists
kubectl create namespace workclub-dev --dry-run=client -o yaml | kubectl apply -f -
# Delete existing StatefulSet to allow immutable field changes (vct -> emptyDir)
kubectl delete statefulset workclub-postgres -n workclub-dev --ignore-not-found
kubectl config view --minify # Verification of context
kubectl apply -k infra/k8s/overlays/dev