summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/charts/sdnc-portal/templates/deployment.yaml
diff options
context:
space:
mode:
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>2018-05-11 14:31:20 +0000
committerGerrit Code Review <gerrit@onap.org>2018-05-11 14:31:20 +0000
commit87b247f52fcd121e69bddfa68ddda60e39eb18c8 (patch)
tree06836fd8e755f5a1c37358f352cd816921409974 /kubernetes/sdnc/charts/sdnc-portal/templates/deployment.yaml
parent42e5b849f8c32b2f8e9772e10d63ea9f1d957941 (diff)
parenta68f4cb5db47f41deac439b9ef90065e023af3fe (diff)
Merge "General cleanup of SDNC charts"
Diffstat (limited to 'kubernetes/sdnc/charts/sdnc-portal/templates/deployment.yaml')
-rw-r--r--kubernetes/sdnc/charts/sdnc-portal/templates/deployment.yaml22
1 files changed, 18 insertions, 4 deletions
diff --git a/kubernetes/sdnc/charts/sdnc-portal/templates/deployment.yaml b/kubernetes/sdnc/charts/sdnc-portal/templates/deployment.yaml
index b456d8ee91..87ed6aa283 100644
--- a/kubernetes/sdnc/charts/sdnc-portal/templates/deployment.yaml
+++ b/kubernetes/sdnc/charts/sdnc-portal/templates/deployment.yaml
@@ -81,8 +81,21 @@ spec:
- mountPath: /etc/localtime
name: localtime
readOnly: true
- - mountPath: {{ .Values.config.configDir }}
- name: {{ include "common.fullname" . }}-portal
+ - mountPath: {{ .Values.config.configDir }}/admportal.json
+ name: properties
+ subPath: admportal.json
+ - mountPath: {{ .Values.config.configDir }}/dblib.properties
+ name: properties
+ subPath: dblib.properties
+ - mountPath: {{ .Values.config.configDir }}/svclogic.properties
+ name: properties
+ subPath: svclogic.properties
+ - mountPath: {{ .Values.config.configDir }}/svclogic.properties.sdnctldb01
+ name: properties
+ subPath: svclogic.properties
+ - mountPath: {{ .Values.config.configDir }}/svclogic.properties.sdnctldb02
+ name: properties
+ subPath: svclogic.properties.sdnctldb02
resources:
{{ toYaml .Values.resources | indent 12 }}
{{- if .Values.nodeSelector }}
@@ -97,8 +110,9 @@ spec:
- name: localtime
hostPath:
path: /etc/localtime
- - name: {{ include "common.fullname" . }}-portal
+ - name: properties
configMap:
- name: {{ include "common.fullname" . }}-portal
+ name: {{ include "common.fullname" . }}
+ defaultMode: 0644
imagePullSecrets:
- name: "{{ include "common.namespace" . }}-docker-registry-key"