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
  • Loading branch information
FloChehab authored and michalmisiewicz committed Oct 30, 2020
1 parent ce2de92 commit e6619c7
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 e6619c7

Please sign in to comment.