Skip to content

Commit

Permalink
fix: remove v1 clusters for migration in post-upgrade job (#1063)
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Salas <[email protected]>
  • Loading branch information
salasberryfin authored Jan 29, 2025
1 parent 16826a3 commit 73487cf
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions charts/rancher-turtles/templates/post-upgrade-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,6 @@ rules:
verbs:
- list
- delete
- apiGroups:
- management.cattle.io
resources:
- clusters
verbs:
- list
- delete
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
Expand Down Expand Up @@ -65,7 +58,7 @@ spec:
image: {{ index .Values "rancherTurtles" "kubectlImage" }}
args:
- delete
- clusters.management.cattle.io
- clusters.provisioning.cattle.io
- --selector=cluster-api.cattle.io/owned
- -A
- --ignore-not-found=true
Expand Down

0 comments on commit 73487cf

Please sign in to comment.