role.yaml 327 B

1234567891011121314151617
  1. {{- if .Values.rbac.create }}
  2. apiVersion: rbac.authorization.k8s.io/v1
  3. kind: Role
  4. metadata:
  5. name: {{ include "kafka.serviceAccountName" . }}
  6. labels:
  7. {{- include "kafka.labels" . | nindent 4 }}
  8. rules:
  9. - apiGroups:
  10. - ""
  11. resources:
  12. - services
  13. verbs:
  14. - get
  15. - list
  16. - watch
  17. {{- end -}}