aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/components/policy-distribution/templates/policy-dist-kafka-user.yaml
diff options
context:
space:
mode:
authorefiacor <fiachra.corcoran@est.tech>2023-02-15 11:51:52 +0000
committerefiacor <fiachra.corcoran@est.tech>2023-02-19 09:09:53 +0000
commitab235f493e324a558475a8eb163ba022bf5a3685 (patch)
tree252e74168fb8f2ea4272ff32d843b479b1898b8e /kubernetes/policy/components/policy-distribution/templates/policy-dist-kafka-user.yaml
parent0460cfce31a204cada6a202fd86515ca4fbbb113 (diff)
[POLICY] Move policy dist to use strimzi templates
Move policy dist to use strimzi templates Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: I4a03812a7545ce7a4fcd5443a2c0af89933b1a63 Issue-ID: DMAAP-1857
Diffstat (limited to 'kubernetes/policy/components/policy-distribution/templates/policy-dist-kafka-user.yaml')
-rw-r--r--kubernetes/policy/components/policy-distribution/templates/policy-dist-kafka-user.yaml36
1 files changed, 0 insertions, 36 deletions
diff --git a/kubernetes/policy/components/policy-distribution/templates/policy-dist-kafka-user.yaml b/kubernetes/policy/components/policy-distribution/templates/policy-dist-kafka-user.yaml
deleted file mode 100644
index eb721b07bb..0000000000
--- a/kubernetes/policy/components/policy-distribution/templates/policy-dist-kafka-user.yaml
+++ /dev/null
@@ -1,36 +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.policyDistKafkaUser }}
- 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: Read
- - resource:
- type: topic
- patternType: prefix
- name: {{ .Values.config.kafka.sdcTopic.pattern }}
- operation: All