Fix Kafka Operator to watch all namespaces.
[demo.git] / vnfs / DAaaS / messaging / charts / strimzi-kafka-operator / templates / 020-RoleBinding-strimzi-cluster-operator.yaml
index 5f01314..647774b 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-cluster-operator-namespaced
   apiGroup: rbac.authorization.k8s.io
 {{- end }}
+{{- end }}
\ No newline at end of file