From 4ae758a4f1682335aa3ea626db1f039247f2ac8c Mon Sep 17 00:00:00 2001 From: Huamin Chen Date: Mon, 31 Jul 2017 11:44:45 -0400 Subject: [PATCH] Randomize ceph namespace cleaner job name Currently Ceph namespace job cleaner uses a fixed name. This leads to helm delete fails to clean up Ceph package. This fix randomizes the job name to avoid name conflicts. DocImpact Closes-Bug: #1707670 Change-Id: I7ac7b7482b945a9a836f6f69df0ef8cebc37bafb --- ceph/templates/job-namespace-client-key-cleaner.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceph/templates/job-namespace-client-key-cleaner.yaml b/ceph/templates/job-namespace-client-key-cleaner.yaml index f97eeeb5e8..f986de3608 100644 --- a/ceph/templates/job-namespace-client-key-cleaner.yaml +++ b/ceph/templates/job-namespace-client-key-cleaner.yaml @@ -17,7 +17,7 @@ apiVersion: batch/v1 kind: Job metadata: - name: ceph-namespace-client-key-cleaner + name: ceph-namespace-client-key-cleaner-{{ randAlphaNum 5 | lower }} annotations: "helm.sh/hook": pre-delete spec: