diff options
author | Andreas Geissler <andreas-geissler@telekom.de> | 2022-12-07 11:51:24 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2022-12-07 11:51:24 +0000 |
commit | 7722dc4c8cf09b4afcb2980da6a933f6c0302feb (patch) | |
tree | a801822aa0d53e502ac470d08d7589e62d20e7cf /kubernetes/sdc/components/sdc-be/values.yaml | |
parent | dd4398c6e3a76a23ce52f31689e6dafde4cad4e9 (diff) | |
parent | 2f1c2a20f251a5106be6c28a8e96f5e9943cf4bb (diff) |
Merge "[STRIMZI] Add strimzi kafka templates"
Diffstat (limited to 'kubernetes/sdc/components/sdc-be/values.yaml')
-rw-r--r-- | kubernetes/sdc/components/sdc-be/values.yaml | 41 |
1 files changed, 15 insertions, 26 deletions
diff --git a/kubernetes/sdc/components/sdc-be/values.yaml b/kubernetes/sdc/components/sdc-be/values.yaml index faf46e5549..b7b3acd909 100644 --- a/kubernetes/sdc/components/sdc-be/values.yaml +++ b/kubernetes/sdc/components/sdc-be/values.yaml @@ -31,13 +31,10 @@ global: replicaCount: 3 clusterName: cassandra dataCenter: Pod - # Strimzi kafka config + # Global Strimzi kafka config overridden + # from parent values.yaml kafka: useKafka: overridden-from-parent-values-yaml - sdcBeKafkaUser: overridden-from-parent-values-yaml - topics: - sdcDistNotifTopic: overridden-from-parent-values-yaml - sdcDistStatusTopic: overridden-from-parent-values-yaml ################################################################# # Application configuration defaults. @@ -53,7 +50,7 @@ debugEnabled: false #environment file env: - name: AUTO + name: &env AUTO certInitializer: nameOverride: sdc-be-cert-init @@ -78,29 +75,21 @@ certInitializer: ################################################################# # SDC Config part ################################################################# - -secrets: - - uid: sdc-be-kafka-secret - externalSecret: '{{ tpl (default "" .Values.config.jaasConfExternalSecret) . }}' - type: genericKV - envs: - - name: sasl.jaas.config - value: '{{ .Values.config.someConfig }}' - policy: generate - config: javaOptions: "-Xmx1536m -Xms1536m" cassandraSslEnabled: "false" - # Strimzi kafka config - kafka: - saslMech: scram-sha-512 - securityProtocol: SASL_PLAINTEXT - authType: simple - topicRetentionMs: 7200000 - topicSegmentBytes: 1073741824 - topicConsumer: - pattern: SDC-DIST - groupId: sdc + +kafkaUser: + acls: + - name: sdc + suffix: *env + type: group + operations: [Read] + - name: SDC-DISTR + type: topic + patternType: prefix + operations: [Read, Write] + # default number of instances replicaCount: 1 |