diff --git a/charts/pulsar-operator/templates/bookkeeper-operator/operator_rbac.yaml b/charts/pulsar-operator/templates/bookkeeper-operator/operator_rbac.yaml index faf805447..d0b5cea14 100644 --- a/charts/pulsar-operator/templates/bookkeeper-operator/operator_rbac.yaml +++ b/charts/pulsar-operator/templates/bookkeeper-operator/operator_rbac.yaml @@ -234,7 +234,7 @@ kind: {{ template "pulsar.bookkeeperRoleBindingKind" . }} apiVersion: rbac.authorization.k8s.io/v1 metadata: name: '{{ template "pulsar.fullname" . }}-{{ .Values.bookkeeper.rbac.name }}-operator' - {{- if not .Values.bookkeeper.serviceAccount.cluserRole }} + {{- if not .Values.bookkeeper.serviceAccount.clusterRole }} namespace: {{ template "pulsar.namespace" . }} {{- end }} subjects: diff --git a/charts/pulsar-operator/templates/pulsar-operator/operator_rbac.yaml b/charts/pulsar-operator/templates/pulsar-operator/operator_rbac.yaml index 5ce276c11..e69d6207f 100644 --- a/charts/pulsar-operator/templates/pulsar-operator/operator_rbac.yaml +++ b/charts/pulsar-operator/templates/pulsar-operator/operator_rbac.yaml @@ -288,7 +288,7 @@ kind: {{ template "pulsar.operatorRoleBindingKind" . }} apiVersion: rbac.authorization.k8s.io/v1 metadata: name: '{{ template "pulsar.fullname" . }}-{{ .Values.pulsar.rbac.name }}-operator' - {{- if not .Values.pulsar.serviceAccount.cluserRole }} + {{- if not .Values.pulsar.serviceAccount.clusterRole }} namespace: {{ template "pulsar.namespace" . }} {{- end }} subjects: diff --git a/charts/pulsar-operator/templates/zookeeper-operator/operator_rbac.yaml b/charts/pulsar-operator/templates/zookeeper-operator/operator_rbac.yaml index 3a40c028a..2421b2f6d 100644 --- a/charts/pulsar-operator/templates/zookeeper-operator/operator_rbac.yaml +++ b/charts/pulsar-operator/templates/zookeeper-operator/operator_rbac.yaml @@ -202,7 +202,7 @@ kind: {{ template "pulsar.zookeeperRoleBindingKind" . }} apiVersion: rbac.authorization.k8s.io/v1 metadata: name: '{{ template "pulsar.fullname" . }}-{{ .Values.zookeeper.rbac.name }}-operator' - {{- if not .Values.zookeeper.serviceAccount.cluserRole }} + {{- if not .Values.zookeeper.serviceAccount.clusterRole }} namespace: {{ template "pulsar.namespace" . }} {{- end }} subjects: