You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
616 B
21 lines
616 B
{{- if and .Values.rbac.create .Values.createGlobalResources -}}
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRole
|
|
metadata:
|
|
name: strimzi-kafka-broker
|
|
labels:
|
|
app: {{ template "strimzi.name" . }}
|
|
chart: {{ template "strimzi.chart" . }}
|
|
component: broker-role
|
|
release: {{ .Release.Name }}
|
|
heritage: {{ .Release.Service }}
|
|
rules:
|
|
- apiGroups:
|
|
- ""
|
|
resources:
|
|
# The Kafka Brokers require "get" permissions to view the node they are on
|
|
# This information is used to generate a Rack ID that is used for High Availability configurations
|
|
- nodes
|
|
verbs:
|
|
- get
|
|
{{- end -}}
|
|
|