Fix Kafka Operator to watch all namespaces.
[demo.git] / vnfs / DAaaS / messaging / charts / strimzi-kafka-operator / templates / 031-RoleBinding-strimzi-cluster-operator-entity-operator-delegation.yaml
index 969fccd..20b163d 100644 (file)
@@ -1,5 +1,6 @@
 {{- $root := . -}}
 {{- range append .Values.watchNamespaces .Release.Namespace }}
+{{- if ne . "*" -}}
 ---
 apiVersion: rbac.authorization.k8s.io/v1beta1
 kind: RoleBinding
@@ -21,3 +22,4 @@ roleRef:
   name: strimzi-entity-operator
   apiGroup: rbac.authorization.k8s.io
 {{- end }}
+{{- end }}