summaryrefslogtreecommitdiffstats
path: root/kubernetes/dmaap/charts/dmaap-bus-controller/templates/deployment.yaml
diff options
context:
space:
mode:
authorBorislav Glozman <Borislav.Glozman@amdocs.com>2018-10-18 07:24:27 +0000
committerGerrit Code Review <gerrit@onap.org>2018-10-18 07:24:27 +0000
commit868886df6e4b8d37434386746b5cb69404371796 (patch)
treeca87fe7d3304fe14810b597097740106c7bb7a24 /kubernetes/dmaap/charts/dmaap-bus-controller/templates/deployment.yaml
parentbce51a3e54fd7514c4cbef6ff2b8135b76d4e961 (diff)
parentec0918d6eeefdba962699e121240f532cb26b66c (diff)
Merge changes I3b0a7ee3,I1e32231f
* changes: Corrections and additions Set properties using k8s configmap
Diffstat (limited to 'kubernetes/dmaap/charts/dmaap-bus-controller/templates/deployment.yaml')
-rw-r--r--kubernetes/dmaap/charts/dmaap-bus-controller/templates/deployment.yaml13
1 files changed, 6 insertions, 7 deletions
diff --git a/kubernetes/dmaap/charts/dmaap-bus-controller/templates/deployment.yaml b/kubernetes/dmaap/charts/dmaap-bus-controller/templates/deployment.yaml
index 20265e017e..8ef03d43a9 100644
--- a/kubernetes/dmaap/charts/dmaap-bus-controller/templates/deployment.yaml
+++ b/kubernetes/dmaap/charts/dmaap-bus-controller/templates/deployment.yaml
@@ -50,9 +50,6 @@ spec:
- name: {{ include "common.name" . }}
image: "{{ include "common.repository" . }}/{{ .Values.image }}"
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
- envFrom:
- - configMapRef:
- name: {{ include "common.fullname" . }}-config
ports:
- containerPort: {{ .Values.service.internalPort }}
- containerPort: {{ .Values.service.internalPort2 }}
@@ -62,7 +59,7 @@ spec:
port: {{ .Values.service.internalPort }}
path: /webapi/info
initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
- periodSeconds: {{ .Values.liveness.periodSeconds }}
+ periodSeconds: {{ .Values.liveness.periodSeconds }}
readinessProbe:
httpGet:
port: {{ .Values.service.internalPort }}
@@ -74,11 +71,13 @@ spec:
- mountPath: /etc/localtime
name: localtime
readOnly: true
+
+# NOTE: on the following several configMaps, careful to include / at end
+# since there may be more than one file in each mountPath
- name: {{ include "common.name" . }}-config
- mountPath: /opt/app/config/conf
- subPath: buscontroller.env
+ mountPath: /opt/app/config/conf/
-# NOTE: the basename of the subdirectory specified in mountPath is important - it matches the DBCL API URI
+# NOTE: the basename of the subdirectory is important - it matches the DBCL API URI
- name: {{ include "common.name" . }}-dmaap
mountPath: /opt/app/config/dmaap/
- name: {{ include "common.name" . }}-dcaelocations