Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[AAI-ML] Move aai-modelloader to use strimzi kafka user template
[oom.git]
/
kubernetes
/
aai
/
components
/
aai-modelloader
/
templates
/
deployment.yaml
diff --git
a/kubernetes/aai/components/aai-modelloader/templates/deployment.yaml
b/kubernetes/aai/components/aai-modelloader/templates/deployment.yaml
index
d3136d8
..
bab0e0c
100644
(file)
--- a/
kubernetes/aai/components/aai-modelloader/templates/deployment.yaml
+++ b/
kubernetes/aai/components/aai-modelloader/templates/deployment.yaml
@@
-102,12
+102,11
@@
spec:
env:
- name: CONFIG_HOME
value: /opt/app/model-loader/config/
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
- name: SASL_JAAS_CONFIG
- value: {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "aai-sdc-kafka-secret" "key" "sasl.jaas.config") | indent 10 }}
+ valueFrom:
+ secretKeyRef:
+ name: {{ include "common.name" . }}-ku
+ key: sasl.jaas.config
volumeMounts: {{ include "common.certInitializer.volumeMount" . | nindent 8 }}
- mountPath: /etc/localtime
name: localtime
volumeMounts: {{ include "common.certInitializer.volumeMount" . | nindent 8 }}
- mountPath: /etc/localtime
name: localtime