aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/components/aai-modelloader/templates/aai-sdc-list-kafka-user.yaml
diff options
context:
space:
mode:
authorefiacor <fiachra.corcoran@est.tech>2023-01-04 10:56:27 +0000
committerefiacor <fiachra.corcoran@est.tech>2023-01-04 10:56:34 +0000
commit7373ad2c2660cd42a997d3908e2f4fb8dac55fca (patch)
tree5e01c56da6b261d308e1fd7938e08d708981c4a6 /kubernetes/aai/components/aai-modelloader/templates/aai-sdc-list-kafka-user.yaml
parente3529a28a1fa8b48b1a8d013be01cfdcb9bb905e (diff)
[AAI-ML] Move aai-modelloader to use strimzi kafka user template
Use common kafka template for the user Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: Id4f58800856c4d8caa45bb1bd4f8df30263fb91b Issue-ID: DMAAP-1852
Diffstat (limited to 'kubernetes/aai/components/aai-modelloader/templates/aai-sdc-list-kafka-user.yaml')
-rw-r--r--kubernetes/aai/components/aai-modelloader/templates/aai-sdc-list-kafka-user.yaml37
1 files changed, 0 insertions, 37 deletions
diff --git a/kubernetes/aai/components/aai-modelloader/templates/aai-sdc-list-kafka-user.yaml b/kubernetes/aai/components/aai-modelloader/templates/aai-sdc-list-kafka-user.yaml
deleted file mode 100644
index d7e37e215a..0000000000
--- a/kubernetes/aai/components/aai-modelloader/templates/aai-sdc-list-kafka-user.yaml
+++ /dev/null
@@ -1,37 +0,0 @@
-{{/*
- # 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.
- */}}
-
-apiVersion: kafka.strimzi.io/v1beta2
-kind: KafkaUser
-metadata:
- name: {{ include "common.release" . }}-{{ .Values.global.aaiSdcListenerKafkaUser }}
- labels:
- strimzi.io/cluster: {{ include "common.release" . }}-strimzi
-spec:
- authentication:
- type: {{ .Values.config.kafka.saslMechanism | lower }}
- authorization:
- type: {{ .Values.config.kafka.authType }}
- acls:
- - resource:
- type: group
- name: {{ .Values.config.kafka.sdcTopic.consumerGroup }}
- operation: All
- - resource:
- type: topic
- patternType: prefix
- name: {{ .Values.config.kafka.sdcTopic.pattern }}
- operation: All