Fix credential cleanup hook

The keystone-credential-cleanup hook was previously changed to
post-delete, this can cause issues where the serviceName is deleted
prior to running and will cause this to fail. This change reverts
the hook back to pre-delete to avoid this issue.

Change-Id: I45f3e73f8a957576ef82a733c1a7b7feaba7b679
This commit is contained in:
Gage Hugo 2019-06-27 15:09:57 -05:00 committed by Tin Lam
parent 69d5c4c1e1
commit a57cd78439

View File

@ -31,7 +31,7 @@ kind: Job
metadata:
name: "keystone-credential-cleanup"
annotations:
"helm.sh/hook": post-delete
"helm.sh/hook": pre-delete
"helm.sh/hook-delete-policy": hook-succeeded
spec:
template: