aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/components/aai-modelloader/templates
diff options
context:
space:
mode:
authorothman touijer <othman.touijer@soprasteria.com>2021-12-01 16:21:18 +0100
committerothman touijer <othman.touijer@soprasteria.com>2021-12-01 16:21:18 +0100
commit5117667a9bfd9f4bc93c4a8a7c20a8514868da19 (patch)
treebb0f0d6ebcd5ec98a0cdf26b7888f03b4381c04c /kubernetes/aai/components/aai-modelloader/templates
parent9a194893d2e134532603292603cc297851640ecc (diff)
[AAI] Service Mesh related
Sets conditions on volumes that are not mounted when AAF is disabled. Issue-ID: OOM-2887 Signed-off-by: othman touijer <othman.touijer@soprasteria.com> Change-Id: If5613bf22d3dbfe527be77726cb1b14a538a2e04
Diffstat (limited to 'kubernetes/aai/components/aai-modelloader/templates')
-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" . }}