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:
parent
268d8ef471
commit
677c7d834b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user