Skip to content

Commit

Permalink
Fix priority expander permissions
Browse files Browse the repository at this point in the history
They should've been fixed in kubernetes#1801, kubernetes#1920
  • Loading branch information
foriequal0 authored and Madan Gudi committed Jan 28, 2021
1 parent c0aa867 commit 1c4f7c7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions charts/cluster-autoscaler/templates/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,24 @@ rules:
- configmaps
verbs:
- create
{{- if eq (default "" .Values.extraArgs.expander) "priority" }}
- list
- watch
{{- end }}
- apiGroups:
- ""
resources:
- configmaps
resourceNames:
- cluster-autoscaler-status
{{- if eq (default "" .Values.extraArgs.expander) "priority" }}
- cluster-autoscaler-priority-expander
{{- end }}
verbs:
- delete
- get
- update
{{- if eq (default "" .Values.extraArgs.expander) "priority" }}
- watch
{{- end }}
{{- end -}}

0 comments on commit 1c4f7c7

Please sign in to comment.