summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/components/sdc-be/templates/kafkauser.yaml
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2022-12-07 11:51:24 +0000
committerGerrit Code Review <gerrit@onap.org>2022-12-07 11:51:24 +0000
commit7722dc4c8cf09b4afcb2980da6a933f6c0302feb (patch)
treea801822aa0d53e502ac470d08d7589e62d20e7cf /kubernetes/sdc/components/sdc-be/templates/kafkauser.yaml
parentdd4398c6e3a76a23ce52f31689e6dafde4cad4e9 (diff)
parent2f1c2a20f251a5106be6c28a8e96f5e9943cf4bb (diff)
Merge "[STRIMZI] Add strimzi kafka templates"
Diffstat (limited to 'kubernetes/sdc/components/sdc-be/templates/kafkauser.yaml')
-rw-r--r--kubernetes/sdc/components/sdc-be/templates/kafkauser.yaml18
1 files changed, 18 insertions, 0 deletions
diff --git a/kubernetes/sdc/components/sdc-be/templates/kafkauser.yaml b/kubernetes/sdc/components/sdc-be/templates/kafkauser.yaml
new file mode 100644
index 0000000000..5033d9d9aa
--- /dev/null
+++ b/kubernetes/sdc/components/sdc-be/templates/kafkauser.yaml
@@ -0,0 +1,18 @@
+{{/*
+# Copyright © 2022 Nordix Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+*/}}
+{{- if .Values.global.kafka.useKafka }}
+{{ include "common.kafkauser" . }}
+{{- end }}