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
This commit is contained in:
Huamin Chen 2017-07-31 11:44:45 -04:00 committed by Huamin Chen
parent 95d58a2f22
commit 4ae758a4f1

View File

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