summaryrefslogtreecommitdiffstats
path: root/kubernetes/aaf/components/aaf-templates/templates/_deployment.tpl
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-11-24 17:23:01 +0000
committerGerrit Code Review <gerrit@onap.org>2020-11-24 17:23:01 +0000
commit1a5966996b0b459fa3154cbe2845a5bfcdaf6d02 (patch)
treecc3173107dfe67fe69cf6dafc82609dc3c9f4756 /kubernetes/aaf/components/aaf-templates/templates/_deployment.tpl
parentf1a17688557b78ade3c25ce7a1a98693e5e8c43d (diff)
parenta8c57a9bdb75a6778cae512ae83710ad8af361e4 (diff)
Merge "[AAF] externalizes init data out from aaf-cass image to chart"
Diffstat (limited to 'kubernetes/aaf/components/aaf-templates/templates/_deployment.tpl')
-rw-r--r--kubernetes/aaf/components/aaf-templates/templates/_deployment.tpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/kubernetes/aaf/components/aaf-templates/templates/_deployment.tpl b/kubernetes/aaf/components/aaf-templates/templates/_deployment.tpl
index bf6931a8e3..00b44a0455 100644
--- a/kubernetes/aaf/components/aaf-templates/templates/_deployment.tpl
+++ b/kubernetes/aaf/components/aaf-templates/templates/_deployment.tpl
@@ -37,6 +37,9 @@ spec:
- mountPath: /etc/localtime
name: localtime
readOnly: true
+ - mountPath: /opt/app/osaaf/etc/org.osaaf.aaf.log4j.props
+ name: aaf-log
+ subPath: org.osaaf.aaf.log4j.props
{{- if eq .Values.liveness.enabled true }}
livenessProbe:
tcpSocket:
@@ -62,6 +65,9 @@ spec:
path: /etc/localtime
- name: aaf-config-vol
emptyDir: {}
+ - name: aaf-log
+ configMap:
+ name: {{ include "common.release" . }}-aaf-log
imagePullSecrets:
- name: "{{ include "common.namespace" . }}-docker-registry-key"
{{- end -}}