diff --git a/keystone/templates/job-credential-cleanup.yaml b/keystone/templates/job-credential-cleanup.yaml index 2cb0a3ecfb..1470d4dc68 100644 --- a/keystone/templates/job-credential-cleanup.yaml +++ b/keystone/templates/job-credential-cleanup.yaml @@ -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: