fix(cd): force delete postgres statefulset to allow storage changes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user