aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/cps/components/cps-core/values.yaml
diff options
context:
space:
mode:
authorefiacor <fiachra.corcoran@est.tech>2023-02-20 17:05:30 +0000
committerefiacor <fiachra.corcoran@est.tech>2023-02-21 17:21:26 +0000
commit9f2a0a07f134c9f5346ae241bb24748068e4f6bd (patch)
treedc9049f38d9d0d63e4880281a91ad83c782fe1ba /kubernetes/cps/components/cps-core/values.yaml
parent23f5499dad42a1147b4edbd6d7b6480895d985bc (diff)
[CPS] Change cps-core/temporal to use strimzi templates
CPS core and temporal will now use the custom strimzi kafka tmplates Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: I3a25e036e3bc2315c335424f624ebf6d538994e2 Issue-ID: CPS-1503
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