deploy-templates/templates/031-RoleBinding-strimzi-cluster-operator-entity-operator-delegation.yaml (16 lines of code) (raw):

apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: strimzi-cluster-operator-entity-operator-delegation-{{ .Values.defaultImageTag }} labels: app: strimzi chart: {{ .Chart.Name }} component: entity-operator-role-binding # The Entity Operator cluster role must be bound to the cluster operator service account so that it can delegate the cluster role to the Entity Operator. # This must be done to avoid escalating privileges which would be blocked by Kubernetes. subjects: - kind: ServiceAccount name: strimzi-cluster-operator-{{ .Values.defaultImageTag }} namespace: {{ .Values.global.kafkaOperator.kafkaCentralNamespace }} roleRef: kind: ClusterRole name: strimzi-entity-operator-{{ .Values.defaultImageTag }} apiGroup: rbac.authorization.k8s.io