Handle keystone cred cleanup hook fail
In cases where mariadb is not accessable, either from being deleted prior to deleting keystone, or some other reason, it is preferred to fail and move on with the keystone-credential-cleanup. This change adds hook-failed to the "hook-delete-policy" for the keystone-credential-cleanup job. This is address cases where deleting keystone would cause the delete task to hang while the cleanup hook would fail to connect to mariadb, often due to mariadb being already deleted. Change-Id: Ice7187fe6329c8b12333f508351bd5f9e2cdc8e2
This commit is contained in:
parent
c5c791cd69
commit
56538d7c76
@ -32,7 +32,7 @@ metadata:
|
||||
name: "keystone-credential-cleanup"
|
||||
annotations:
|
||||
"helm.sh/hook": pre-delete
|
||||
"helm.sh/hook-delete-policy": hook-succeeded
|
||||
"helm.sh/hook-delete-policy": hook-succeeded, hook-failed
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
|
Loading…
Reference in New Issue
Block a user