You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Argocd should respect helm hook to
-> create psp,rbac,serviceaccount,job for prometheus-operator-admission-createhere
-> wait for job to succeed
-> delete psp,rbac,serviceaccount,job for prometheus-operator-admission-create
However, what actually happened is
-> create psp,rbac,serviceaccount,job for prometheus-operator-admission-createhere
-> argocd delete psp,rbac,serviceaccount without waiting job to succeed
-> job fail because it cannt mount serviceaccount token
Describe the bug
prometheus-operator helm chart contains
helm.sh/hook: 'pre-install,pre-upgrade'
andhelm.sh/hook-delete-policy: 'before-hook-creation,hook-succeeded'
Argocd seems to delete objects in the hook before the hook is succeeded.
To Reproduce
It happend in kind cluster and kubeadm bootstrapped cluster.
Then apply the Application CRD
Expected behavior
Argocd should respect helm hook to
-> create
psp,rbac,serviceaccount,job
forprometheus-operator-admission-create
here-> wait for job to succeed
-> delete
psp,rbac,serviceaccount,job
forprometheus-operator-admission-create
However, what actually happened is
-> create
psp,rbac,serviceaccount,job
forprometheus-operator-admission-create
here-> argocd delete
psp,rbac,serviceaccount
without waiting job to succeed-> job fail because it cannt mount serviceaccount token
Screenshots
Version
The text was updated successfully, but these errors were encountered: