This is an automated email from the ASF dual-hosted git repository. potiuk pushed a commit to branch v1-10-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 6d8ec84a2e854189de9df167b726bb45127e1e46 Author: FloChehab <[email protected]> AuthorDate: Tue Oct 20 23:31:37 2020 +0200 fix pod launcher rolebinding in helm chart (#11675) * Followup to #11034 * Was not referencing the correct kind of resources if multiNamespaceMode = False (cherry picked from commit 3391c90247c7f34687ba33a459aba8ea79517604) --- chart/templates/rbac/pod-launcher-rolebinding.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chart/templates/rbac/pod-launcher-rolebinding.yaml b/chart/templates/rbac/pod-launcher-rolebinding.yaml index a3eab66..f258de7 100644 --- a/chart/templates/rbac/pod-launcher-rolebinding.yaml +++ b/chart/templates/rbac/pod-launcher-rolebinding.yaml @@ -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 }}
