mik-laj commented on a change in pull request #11034:
URL: https://github.com/apache/airflow/pull/11034#discussion_r491740994
##########
File path: chart/templates/rbac/pod-launcher-role.yaml
##########
@@ -19,7 +19,11 @@
## Airflow Pod Launcher Role
#################################
{{- if and .Values.rbacEnabled .Values.allowPodLaunching }}
+{{- if .Values.multiNamespaceMode }}
kind: ClusterRole
+{{- else }}
+kind: Role
Review comment:
> when you create a Role, you have to specify the namespace it belongs
in.
> ClusterRole, by contrast, is a non-namespaced resource.
https://kubernetes.io/docs/reference/access-authn-authz/rbac/
Can you add namespace?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]