summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/components/aai-modelloader/templates/deployment.yaml
diff options
context:
space:
mode:
authorFiachra Corcoran <fiachra.corcoran@est.tech>2022-11-30 10:56:52 +0000
committerGerrit Code Review <gerrit@onap.org>2022-11-30 10:56:52 +0000
commit85c772b931c10b1dfcf11eb605837054a3549441 (patch)
treee8eb593018b2c0b7fac009616f97a43948e28019 /kubernetes/aai/components/aai-modelloader/templates/deployment.yaml
parent8098b363a024b253fb4c1880ee58afaa924a7570 (diff)
parentc87dbc30928b4a9d05062ac842ec6749ee25ab3c (diff)
Merge "[AAI-SDC-DIST] Updgrade AAI to use kafka native"
Diffstat (limited to 'kubernetes/aai/components/aai-modelloader/templates/deployment.yaml')
-rw-r--r--kubernetes/aai/components/aai-modelloader/templates/deployment.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/kubernetes/aai/components/aai-modelloader/templates/deployment.yaml b/kubernetes/aai/components/aai-modelloader/templates/deployment.yaml
index 8e481b9656..d3136d8dda 100644
--- a/kubernetes/aai/components/aai-modelloader/templates/deployment.yaml
+++ b/kubernetes/aai/components/aai-modelloader/templates/deployment.yaml
@@ -102,6 +102,12 @@ spec:
env:
- name: CONFIG_HOME
value: /opt/app/model-loader/config/
+ - name: SECURITY_PROTOCOL
+ value: {{ .Values.config.kafka.securityProtocol }}
+ - name: SASL_MECHANISM
+ value: {{ .Values.config.kafka.saslMechanism }}
+ - name: SASL_JAAS_CONFIG
+ value: {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "aai-sdc-kafka-secret" "key" "sasl.jaas.config") | indent 10 }}
volumeMounts: {{ include "common.certInitializer.volumeMount" . | nindent 8 }}
- mountPath: /etc/localtime
name: localtime