aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/so/charts/so-bpmn-infra/templates
diff options
context:
space:
mode:
authorjmac <james.macnider@amdocs.com>2018-10-12 18:24:24 +0000
committerjmac <james.macnider@amdocs.com>2018-10-12 19:19:11 +0000
commitc4f04d379ab427475ec792d9758ae2c02aae1e00 (patch)
treef9969f64792753d2b4d3fe00ef026c0111c618f1 /kubernetes/so/charts/so-bpmn-infra/templates
parentc57267b3f3fc1f986000e483563b62481cea5d96 (diff)
Added missing maria db dependencies
If there are other inter-pod dependencies that should be managed, please comment to let me know so they can be added. Also addressed the missing globals section in the pods values.yaml files and incorrect pull policy management to make them follow the standard conventions Change-Id: I3625f8452d90182391e1ff4af5fddfe9d0948a32 Signed-off-by: jmac <james.macnider@amdocs.com> Issue-ID: OOM-1472
Diffstat (limited to 'kubernetes/so/charts/so-bpmn-infra/templates')
-rwxr-xr-xkubernetes/so/charts/so-bpmn-infra/templates/deployment.yaml17
1 files changed, 16 insertions, 1 deletions
diff --git a/kubernetes/so/charts/so-bpmn-infra/templates/deployment.yaml b/kubernetes/so/charts/so-bpmn-infra/templates/deployment.yaml
index 20068a8edd..ad3a19f37e 100755
--- a/kubernetes/so/charts/so-bpmn-infra/templates/deployment.yaml
+++ b/kubernetes/so/charts/so-bpmn-infra/templates/deployment.yaml
@@ -34,6 +34,21 @@ spec:
app: {{ include "common.name" . }}
release: {{ .Release.Name }}
spec:
+ initContainers:
+ - command:
+ - /root/ready.py
+ args:
+ - --container-name
+ - {{ .Values.mariadb.nameOverride }}
+ env:
+ - name: NAMESPACE
+ valueFrom:
+ fieldRef:
+ apiVersion: v1
+ fieldPath: metadata.namespace
+ image: "{{ .Values.global.readinessRepository }}/{{ .Values.global.readinessImage }}"
+ imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
+ name: {{ include "common.name" . }}-readiness
containers:
- name: {{ include "common.name" . }}
image: {{ include "common.repository" . }}/{{ .Values.image }}
@@ -73,7 +88,7 @@ spec:
envFrom:
- configMapRef:
name: {{ include "common.fullname" . }}-configmap
- imagePullPolicy: {{ index .Values "global" "pullPolicy" }}
+ imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
volumeMounts:
- name: logs
mountPath: /app/logs