summaryrefslogtreecommitdiffstats
path: root/kubernetes/cps/components/cps-core/values.yaml
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2023-02-27 08:30:18 +0000
committerGerrit Code Review <gerrit@onap.org>2023-02-27 08:30:18 +0000
commita7eeecb520f5046e490fa3f4cd6bfc52265f9799 (patch)
treeabb48c8f3747b7fb51470dd7c5d1cafbc96c09aa /kubernetes/cps/components/cps-core/values.yaml
parentf212f12bedbde5141aba654d57ea34d2e0c3547f (diff)
parent9f2a0a07f134c9f5346ae241bb24748068e4f6bd (diff)
Merge "[CPS] Change cps-core/temporal to use strimzi templates"
Diffstat (limited to 'kubernetes/cps/components/cps-core/values.yaml')
-rw-r--r--kubernetes/cps/components/cps-core/values.yaml47
1 files changed, 23 insertions, 24 deletions
diff --git a/kubernetes/cps/components/cps-core/values.yaml b/kubernetes/cps/components/cps-core/values.yaml
index 5f420d1a4d..a016574dc5 100644
--- a/kubernetes/cps/components/cps-core/values.yaml
+++ b/kubernetes/cps/components/cps-core/values.yaml
@@ -1,6 +1,6 @@
# Copyright (C) 2021 Pantheon.tech, Orange, Bell Canada.
# Modifications Copyright (C) 2022 Bell Canada
-# Modifications Copyright © 2022 Nordix Foundation
+# Modifications Copyright © 2022-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.
@@ -43,13 +43,6 @@ secrets:
login: '{{ .Values.config.dmiPluginUserName }}'
password: '{{ .Values.config.dmiPluginUserPassword }}'
passwordPolicy: generate
- - uid: cps-kafka-user
- externalSecret: '{{ tpl (default "" .Values.config.jaasConfExternalSecret) . }}'
- type: genericKV
- envs:
- - name: sasl.jaas.config
- value: '{{ .Values.config.someConfig }}'
- policy: generate
#################################################################
# Global configuration defaults.
@@ -173,8 +166,7 @@ securityContext:
#################################################################
config:
-
- # Set it for pre loading xnfdata, else set to null
+ # Set it for preloading xnfdata, else set to null
liquibaseLabels: xnf-data-preload
# REST API basic authentication credentials (passsword is generated if not provided)
@@ -189,22 +181,9 @@ config:
# spring.config.max-size: 200
# spring.config.min-size: 10
-# kafka config
- useStrimziKafka: true
- kafkaBootstrap: strimzi-kafka-bootstrap
-# If targeting a custom kafka cluster, ie useStrimziKakfa: false
-# uncomment below config and target your kafka bootstrap servers,
-# along with any other security config.
-
-# eventPublisher:
-# spring.kafka.bootstrap-servers: <kafka-bootstrap>:9092
-# spring.kafka.security.protocol: SASL_PLAINTEXT
-# spring.kafka.properties.sasl.mechanism: PLAIN
-# spring.kafka.properties.sasl.jaas.config: org.apache.kafka.common.security.plain.PlainLoginModule required username=admin password=admin_secret;
-
additional:
notification.data-updated.enabled: true
- notification.data-updated.topic: cps.data-updated-events
+ notification.data-updated.topic: &dataUpdatedTopic cps.data-updated-events
notification.data-updated.filters.enabled-dataspaces: ""
notification.async.enabled: false
notification.async.executor.core-pool-size: 2
@@ -213,6 +192,26 @@ config:
notification.async.executor.wait-for-tasks-to-complete-on-shutdown: true
notification.async.executor.thread-name-prefix: Async-
+# Strimzi KafkaUser config
+kafkaUser:
+ authenticationType: scram-sha-512
+ acls:
+ - name: cps-core-group
+ type: group
+ operations: [Read]
+ - name: *dataUpdatedTopic
+ type: topic
+ operations: [Write]
+ - name: dmi-cm-events
+ type: topic
+ operations: [Read]
+ - name: ncmp-async-m2m
+ type: topic
+ operations: [Read]
+ - name: cm-avc-subscription
+ type: topic
+ operations: [Read]
+
logging:
level: INFO
path: /tmp