aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/msb/templates/msb-eag-deployment.yaml
diff options
context:
space:
mode:
authorAlexis de Talhouƫt <alexis.de_talhouet@bell.ca>2018-02-09 14:50:58 +0000
committerGerrit Code Review <gerrit@onap.org>2018-02-09 14:50:58 +0000
commit794ae5db8003fc67da57f6b887ab69adfb7e06f8 (patch)
tree217602967ae54c5cff68a94db0d9978c131d22bb /kubernetes/msb/templates/msb-eag-deployment.yaml
parent929e0e7a5e94f90a6ec209e50e6c37eae3771827 (diff)
parent097f681552ea5cd932f672fd5e80fee712ff2083 (diff)
Merge "Enforce MSB dockers dependencies"
Diffstat (limited to 'kubernetes/msb/templates/msb-eag-deployment.yaml')
-rw-r--r--kubernetes/msb/templates/msb-eag-deployment.yaml17
1 files changed, 16 insertions, 1 deletions
diff --git a/kubernetes/msb/templates/msb-eag-deployment.yaml b/kubernetes/msb/templates/msb-eag-deployment.yaml
index 714f19b1a5..10cbbe115d 100644
--- a/kubernetes/msb/templates/msb-eag-deployment.yaml
+++ b/kubernetes/msb/templates/msb-eag-deployment.yaml
@@ -16,6 +16,21 @@ spec:
name: msb-eag
spec:
hostname: msb-eag
+ initContainers:
+ - command:
+ - /root/ready.py
+ args:
+ - --container-name
+ - msb-discovery
+ env:
+ - name: NAMESPACE
+ valueFrom:
+ fieldRef:
+ apiVersion: v1
+ fieldPath: metadata.namespace
+ image: {{ .Values.image.readiness }}
+ imagePullPolicy: {{ .Values.pullPolicy }}
+ name: msb-eag-readiness
containers:
- args:
image: {{ .Values.image.apigateway }}
@@ -38,4 +53,4 @@ spec:
imagePullPolicy: {{ .Values.pullPolicy}}
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
-#{{ end }} \ No newline at end of file
+#{{ end }}