diff options
Diffstat (limited to 'vnfs/DAaaS/messaging')
5 files changed, 12 insertions, 1 deletions
diff --git a/vnfs/DAaaS/messaging/charts/strimzi-kafka-operator/templates/020-RoleBinding-strimzi-cluster-operator.yaml b/vnfs/DAaaS/messaging/charts/strimzi-kafka-operator/templates/020-RoleBinding-strimzi-cluster-operator.yaml index 5f013145..647774b5 100644 --- a/vnfs/DAaaS/messaging/charts/strimzi-kafka-operator/templates/020-RoleBinding-strimzi-cluster-operator.yaml +++ b/vnfs/DAaaS/messaging/charts/strimzi-kafka-operator/templates/020-RoleBinding-strimzi-cluster-operator.yaml @@ -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 diff --git a/vnfs/DAaaS/messaging/charts/strimzi-kafka-operator/templates/031-RoleBinding-strimzi-cluster-operator-entity-operator-delegation.yaml b/vnfs/DAaaS/messaging/charts/strimzi-kafka-operator/templates/031-RoleBinding-strimzi-cluster-operator-entity-operator-delegation.yaml index 969fccdc..20b163de 100644 --- a/vnfs/DAaaS/messaging/charts/strimzi-kafka-operator/templates/031-RoleBinding-strimzi-cluster-operator-entity-operator-delegation.yaml +++ b/vnfs/DAaaS/messaging/charts/strimzi-kafka-operator/templates/031-RoleBinding-strimzi-cluster-operator-entity-operator-delegation.yaml @@ -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 }} diff --git a/vnfs/DAaaS/messaging/charts/strimzi-kafka-operator/templates/032-RoleBinding-strimzi-cluster-operator-topic-operator-delegation.yaml b/vnfs/DAaaS/messaging/charts/strimzi-kafka-operator/templates/032-RoleBinding-strimzi-cluster-operator-topic-operator-delegation.yaml index 30602f6f..29f3d36b 100644 --- a/vnfs/DAaaS/messaging/charts/strimzi-kafka-operator/templates/032-RoleBinding-strimzi-cluster-operator-topic-operator-delegation.yaml +++ b/vnfs/DAaaS/messaging/charts/strimzi-kafka-operator/templates/032-RoleBinding-strimzi-cluster-operator-topic-operator-delegation.yaml @@ -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-topic-operator apiGroup: rbac.authorization.k8s.io {{- end }} +{{- end }} diff --git a/vnfs/DAaaS/messaging/charts/strimzi-kafka-operator/templates/050-Deployment-strimzi-cluster-operator.yaml b/vnfs/DAaaS/messaging/charts/strimzi-kafka-operator/templates/050-Deployment-strimzi-cluster-operator.yaml index d1ae281a..2f9b570d 100644 --- a/vnfs/DAaaS/messaging/charts/strimzi-kafka-operator/templates/050-Deployment-strimzi-cluster-operator.yaml +++ b/vnfs/DAaaS/messaging/charts/strimzi-kafka-operator/templates/050-Deployment-strimzi-cluster-operator.yaml @@ -24,8 +24,12 @@ spec: - name: STRIMZI_NAMESPACE {{- if .Values.watchNamespaces -}} {{- $ns := .Values.watchNamespaces -}} + {{- if has "*" $ns }} + value: "*" + {{- else -}} {{- $ns := append $ns .Release.Namespace }} value: "{{ join "," $ns }}" + {{- end }} {{- else }} valueFrom: fieldRef: diff --git a/vnfs/DAaaS/messaging/charts/strimzi-kafka-operator/values.yaml b/vnfs/DAaaS/messaging/charts/strimzi-kafka-operator/values.yaml index b9c5f2ef..74a7c581 100644 --- a/vnfs/DAaaS/messaging/charts/strimzi-kafka-operator/values.yaml +++ b/vnfs/DAaaS/messaging/charts/strimzi-kafka-operator/values.yaml @@ -1,6 +1,7 @@ # Default values for strimzi-kafka-operator. -watchNamespaces: [] +watchNamespaces: + - "*" image: repository: strimzi |