summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/templates/sdc-fe.yaml
diff options
context:
space:
mode:
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>2017-12-15 14:46:00 +0000
committerGerrit Code Review <gerrit@onap.org>2017-12-15 14:46:00 +0000
commitdea1b9749eba16d232675c0f33e7e84f8d69a980 (patch)
tree74f006bdc63dfb2a4ca1cac11a215fff2220019d /kubernetes/sdc/templates/sdc-fe.yaml
parent3bcdbc10ecfc127eb89a6ef77e8bc2f6b8b9ab7f (diff)
parent98960b61f593c2da2696845702c821d306d60c23 (diff)
Merge "Update annotations to spec for sdc"
Diffstat (limited to 'kubernetes/sdc/templates/sdc-fe.yaml')
-rw-r--r--kubernetes/sdc/templates/sdc-fe.yaml53
1 files changed, 21 insertions, 32 deletions
diff --git a/kubernetes/sdc/templates/sdc-fe.yaml b/kubernetes/sdc/templates/sdc-fe.yaml
index 4648c56c6f..bc1777f3ab 100644
--- a/kubernetes/sdc/templates/sdc-fe.yaml
+++ b/kubernetes/sdc/templates/sdc-fe.yaml
@@ -15,39 +15,28 @@ spec:
labels:
app: sdc-fe
name: sdc-fe
- annotations:
- pod.beta.kubernetes.io/init-containers: '[
- {
- "args": [
- "--container-name",
- "sdc-es",
- "--container-name",
- "sdc-cs",
- "--container-name",
- "sdc-kb",
- "--container-name",
- "sdc-be"
- ],
- "command": [
- "/root/ready.py"
- ],
- "env": [
- {
- "name": "NAMESPACE",
- "valueFrom": {
- "fieldRef": {
- "apiVersion": "v1",
- "fieldPath": "metadata.namespace"
- }
- }
- }
- ],
- "image": "{{ .Values.image.readiness }}",
- "imagePullPolicy": "{{ .Values.pullPolicy }}",
- "name": "sdc-fe-readiness"
- }
- ]'
spec:
+ initContainers:
+ - command:
+ - /root/ready.py
+ args:
+ - --container-name
+ - sdc-es
+ - --container-name
+ - sdc-cs
+ - --container-name
+ - sdc-kb
+ - --container-name
+ - sdc-be
+ env:
+ - name: NAMESPACE
+ valueFrom:
+ fieldRef:
+ apiVersion: v1
+ fieldPath: metadata.namespace
+ image: {{ .Values.image.readiness }}
+ imagePullPolicy: {{ .Values.pullPolicy }}
+ name: sdc-fe-readiness
containers:
- name: sdc-fe
env: