Post-upgrade hooks failed for ArgoCD due to upgrade-cluster ClusterRole already exists
Bug
Description
Describe the problem, what were you doing when you noticed the bug?
When running bigbang upgrade from 2.17.0 to 2.18.0 I encounter this error message in the ArgoCD helm chart, preventing the helm chart from reconciling:
Helm upgrade failed for release argocd/argocd-argocd with chart argocd@5.46.7-bb.11: post-upgrade hooks failed: warning: Hook post-upgrade argocd/templates/bigbang/upgrade-job.yaml failed: 1 error occurred: * clusterroles.rbac.authorization.k8s.io "upgrade-clusterrole" already exists
BigBang Version
Currently running bigbang 2.17.0
This can be retrieved multiple ways:
# via helm
helm ls -n bigbang
# via the deployed umbrella git tag
kubectl get gitrepository -n bigbang
Edited by Minh Son