summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/components/aai-modelloader/templates/deployment.yaml
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-12-02 06:59:00 +0000
committerGerrit Code Review <gerrit@onap.org>2021-12-02 06:59:00 +0000
commit58b7790705734e89991092c7dd2863654bc3dcb4 (patch)
tree884b0a9b07df2d6feebea1dcb82a84150088fb35 /kubernetes/aai/components/aai-modelloader/templates/deployment.yaml
parent81084d7169426b0d05710446cc23e233eae34b72 (diff)
parent5117667a9bfd9f4bc93c4a8a7c20a8514868da19 (diff)
Merge "[AAI] Service Mesh related"
Diffstat (limited to 'kubernetes/aai/components/aai-modelloader/templates/deployment.yaml')
-rw-r--r--kubernetes/aai/components/aai-modelloader/templates/deployment.yaml8
1 files changed, 5 insertions, 3 deletions
diff --git a/kubernetes/aai/components/aai-modelloader/templates/deployment.yaml b/kubernetes/aai/components/aai-modelloader/templates/deployment.yaml
index 0213d631a3..c4098b1a3b 100644
--- a/kubernetes/aai/components/aai-modelloader/templates/deployment.yaml
+++ b/kubernetes/aai/components/aai-modelloader/templates/deployment.yaml
@@ -116,12 +116,14 @@ spec:
- name: localtime
hostPath:
path: /etc/localtime
- - name: prop-config-input
- configMap:
- name: {{ include "common.fullname" . }}-prop
- name: prop-config
+ {{- if .Values.global.aafEnabled }}
emptyDir:
medium: Memory
+ - name: prop-config-input
+ {{- end }}
+ configMap:
+ name: {{ include "common.fullname" . }}-prop
- name: auth-config
secret:
secretName: {{ include "common.fullname" . }}