From ab235f493e324a558475a8eb163ba022bf5a3685 Mon Sep 17 00:00:00 2001 From: efiacor Date: Wed, 15 Feb 2023 11:51:52 +0000 Subject: [POLICY] Move policy dist to use strimzi templates Move policy dist to use strimzi templates Signed-off-by: efiacor Change-Id: I4a03812a7545ce7a4fcd5443a2c0af89933b1a63 Issue-ID: DMAAP-1857 --- .../components/policy-distribution/values.yaml | 31 +++++++++------------- 1 file changed, 12 insertions(+), 19 deletions(-) (limited to 'kubernetes/policy/components/policy-distribution/values.yaml') diff --git a/kubernetes/policy/components/policy-distribution/values.yaml b/kubernetes/policy/components/policy-distribution/values.yaml index 5cdda2f0b8..f341c97307 100755 --- a/kubernetes/policy/components/policy-distribution/values.yaml +++ b/kubernetes/policy/components/policy-distribution/values.yaml @@ -1,6 +1,7 @@ # ============LICENSE_START======================================================= # Copyright (C) 2018 Ericsson. All rights reserved. # Modifications Copyright (C) 2019-2021 AT&T Intellectual Property. +# Modifications Copyright (C) 2023 Nordix Foundation # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -55,13 +56,7 @@ secrets: externalSecret: '{{ tpl (default "" .Values.certStores.trustStorePasswordExternalSecret) . }}' password: '{{ .Values.certStores.trustStorePassword }}' passwordPolicy: required - - uid: policy-dist-kafka-user - externalSecret: '{{ tpl (default "" .Values.config.jaasConfExternalSecret) . }}' - type: genericKV - envs: - - name: sasl.jaas.config - value: '{{ .Values.config.someConfig }}' - policy: generate + ################################################################# # Global configuration defaults. ################################################################# @@ -79,18 +74,16 @@ pullPolicy: Always # flag to enable debugging - application support required debugEnabled: false -# application configuration -config: - someConfig: blah - kafka: - bootstrapServer: strimzi-kafka-bootstrap:9092 - securityProtocol: SASL_PLAINTEXT - saslMechanism: SCRAM-SHA-512 - authType: simple - sdcTopic: - pattern: SDC-DIST - consumerGroup: policy-group - clientId: policy-distribution +#Strimzi Kafka User def +kafkaUser: + acls: + - name: policy-distribution + type: group + operations: [Read] + - name: SDC-DISTR + type: topic + patternType: prefix + operations: [Read, Write] restServer: user: healthcheck -- cgit 1.2.3-korg