aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/components/aai-modelloader/values.yaml
diff options
context:
space:
mode:
authorefiacor <fiachra.corcoran@est.tech>2023-01-04 10:56:27 +0000
committerefiacor <fiachra.corcoran@est.tech>2023-01-04 10:56:34 +0000
commit7373ad2c2660cd42a997d3908e2f4fb8dac55fca (patch)
tree5e01c56da6b261d308e1fd7938e08d708981c4a6 /kubernetes/aai/components/aai-modelloader/values.yaml
parente3529a28a1fa8b48b1a8d013be01cfdcb9bb905e (diff)
[AAI-ML] Move aai-modelloader to use strimzi kafka user template
Use common kafka template for the user Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: Id4f58800856c4d8caa45bb1bd4f8df30263fb91b Issue-ID: DMAAP-1852
Diffstat (limited to 'kubernetes/aai/components/aai-modelloader/values.yaml')
-rw-r--r--kubernetes/aai/components/aai-modelloader/values.yaml33
1 files changed, 10 insertions, 23 deletions
diff --git a/kubernetes/aai/components/aai-modelloader/values.yaml b/kubernetes/aai/components/aai-modelloader/values.yaml
index 09bb32dd43..825ef06cf1 100644
--- a/kubernetes/aai/components/aai-modelloader/values.yaml
+++ b/kubernetes/aai/components/aai-modelloader/values.yaml
@@ -18,18 +18,6 @@
# Declare variables to be passed into your templates.
global: # global defaults
nodePortPrefix: 302
- aaiSdcListenerKafkaUser: aai-sdc-list-user
-#################################################################
-# Secrets metaconfig
-#################################################################
-secrets:
- - uid: aai-sdc-kafka-secret
- externalSecret: '{{ tpl (default "" .Values.config.jaasConfExternalSecret) . }}'
- type: genericKV
- envs:
- - name: sasl.jaas.config
- value: '{{ .Values.config.someConfig }}'
- policy: generate
#################################################################
# Certificate configuration
@@ -74,17 +62,16 @@ restartPolicy: Always
flavor: small
flavorOverride: small
-# application configuration
-config:
- someConfig: blah
- kafka:
- securityProtocol: SASL_PLAINTEXT
- saslMechanism: SCRAM-SHA-512
- authType: simple
- sdcTopic:
- pattern: SDC-DIST
- consumerGroup: aai
- clientId: aai-model-loader
+# Strimzi KafkaUser config
+kafkaUser:
+ acls:
+ - name: aai
+ type: group
+ operations: [Read]
+ - name: SDC-DISTR
+ type: topic
+ patternType: prefix
+ operations: [Read, Write]
# default number of instances
replicaCount: 1