Skip to content

Commit

Permalink
fix: scope CRD update permissions v0.35.x (#7331)
Browse files Browse the repository at this point in the history
  • Loading branch information
rschalo authored Nov 6, 2024
1 parent b8ad92f commit 325daf1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions charts/karpenter/templates/clusterrole-core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ rules:
resourceNames: ["validation.webhook.karpenter.sh", "validation.webhook.config.karpenter.sh"]
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
resourceNames: ["ec2nodeclasses.karpenter.k8s.aws", "nodepools.karpenter.sh", "nodeclaims.karpenter.sh"]
verbs: ["update"]
{{- end }}
{{- with .Values.additionalClusterRoleRules -}}
Expand Down

0 comments on commit 325daf1

Please sign in to comment.