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:
Dae Seong Kim 2017-08-04 16:36:47 +09:00
parent 268d8ef471
commit 677c7d834b

View File

@ -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