From efbab71e7eb5997be127a22b1804c1560c14e1f6 Mon Sep 17 00:00:00 2001 From: Donglai Fu Date: Tue, 5 Mar 2024 14:43:19 +0800 Subject: [PATCH] fix `clusterRole` typo (#1151) fix typo (cherry picked from commit 5d32eb344c2085213c947f88cd65cac17b3b9a17) --- .../templates/bookkeeper-operator/operator_rbac.yaml | 2 +- .../templates/pulsar-operator/operator_rbac.yaml | 2 +- .../templates/zookeeper-operator/operator_rbac.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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: