mirror of
https://github.com/optim-enterprises-bv/openstack-helm.git
synced 2025-12-26 01:37:15 +00:00
fix to avoid crash loop on ceph clean job
ceph clean job tries to delete a secret. but if there's no the secret, the job falls in CrashLoopBackOff status when helm delete. Change-Id: I863e43f576408fdcd24997bde9b658c50b0057c1 Closes-bug: 1708597
This commit is contained in:
@@ -2,4 +2,4 @@
|
||||
set -ex
|
||||
|
||||
kubectl delete secret ${PVC_CEPH_STORAGECLASS_USER_SECRET_NAME} \
|
||||
--namespace ${DEPLOYMENT_NAMESPACE}
|
||||
--namespace ${DEPLOYMENT_NAMESPACE} --ignore-not-found=true
|
||||
|
||||
Reference in New Issue
Block a user