From 677c7d834ba82bc96719257604f184b11ea1e698 Mon Sep 17 00:00:00 2001 From: Dae Seong Kim Date: Fri, 4 Aug 2017 16:36:47 +0900 Subject: [PATCH] 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 --- ceph/templates/bin/_ceph-namespace-client-key-cleaner.sh.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceph/templates/bin/_ceph-namespace-client-key-cleaner.sh.tpl b/ceph/templates/bin/_ceph-namespace-client-key-cleaner.sh.tpl index 565426a83f..e853e436ab 100644 --- a/ceph/templates/bin/_ceph-namespace-client-key-cleaner.sh.tpl +++ b/ceph/templates/bin/_ceph-namespace-client-key-cleaner.sh.tpl @@ -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