Skip to content

Commit

Permalink
fix pod launcher rolebinding in helm chart (apache#11675)
Browse files Browse the repository at this point in the history
* Followup to apache#11034
* Was not referencing the correct kind of resources if multiNamespaceMode = False

(cherry picked from commit 3391c90)
  • Loading branch information
FloChehab authored and Chris Fei committed Mar 5, 2021
1 parent 50b7773 commit dcaa317
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions chart/templates/rbac/pod-launcher-rolebinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@ metadata:
{{- end }}
roleRef:
apiGroup: rbac.authorization.k8s.io
{{- if .Values.multiNamespaceMode }}
kind: ClusterRole
{{- else }}
kind: Role
{{- end }}
name: {{ .Release.Name }}-pod-launcher-role
subjects:
{{- if $grantScheduler }}
Expand Down

0 comments on commit dcaa317

Please sign in to comment.