Merge "Change cred-cleanup to not restart on failure"

This commit is contained in:
Zuul 2019-06-22 05:11:05 +00:00 committed by Gerrit Code Review
commit f67940e3ce

View File

@ -31,8 +31,8 @@ kind: Job
metadata:
name: "keystone-credential-cleanup"
annotations:
"helm.sh/hook": pre-delete
"helm.sh/hook-delete-policy": hook-succeed
"helm.sh/hook": post-delete
"helm.sh/hook-delete-policy": hook-succeeded
spec:
template:
metadata:
@ -40,7 +40,7 @@ spec:
{{ tuple $envAll $serviceName "credential-cleanup" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
spec:
serviceAccountName: {{ $serviceName }}
restartPolicy: OnFailure
restartPolicy: Never
nodeSelector:
{{ toYaml $nodeSelector | indent 8 }}
initContainers: