summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkiranya <kiran.yadav@amdocs.com>2017-11-13 07:46:53 +0000
committerkiranya <kiran.yadav@amdocs.com>2017-11-22 11:46:08 +0000
commit09f7b38e7d240d2f7703063c667c0b1d188879fa (patch)
tree1c429ad4939e3dbfd1608a60813f5d8d11a58f3f
parentc2c4d76e70b24e9702419864d0ec422eddfae8d4 (diff)
Update annotations to spec for mso
Issue-ID: OOM-406 Change-Id: If55e42dbfc80c60f6b4b7bf11f1648ad7b65928b Signed-off-by: kiranya <kiran.yadav@amdocs.com>
-rw-r--r--kubernetes/mso/templates/mso-deployment.yaml43
1 files changed, 16 insertions, 27 deletions
diff --git a/kubernetes/mso/templates/mso-deployment.yaml b/kubernetes/mso/templates/mso-deployment.yaml
index a33d9b08fa..8722cd6557 100644
--- a/kubernetes/mso/templates/mso-deployment.yaml
+++ b/kubernetes/mso/templates/mso-deployment.yaml
@@ -14,33 +14,22 @@ spec:
labels:
app: mso
name: mso
- annotations:
- pod.beta.kubernetes.io/init-containers: '[
- {
- "args": [
- "--container-name",
- "mariadb"
- ],
- "command": [
- "/root/ready.py"
- ],
- "env": [
- {
- "name": "NAMESPACE",
- "valueFrom": {
- "fieldRef": {
- "apiVersion": "v1",
- "fieldPath": "metadata.namespace"
- }
- }
- }
- ],
- "image": "{{ .Values.image.readiness }}",
- "imagePullPolicy": "{{ .Values.pullPolicy }}",
- "name": "mso-readiness"
- }
- ]'
spec:
+ initContainers:
+ - command:
+ - /root/ready.py
+ args:
+ - --container-name
+ - mariadb
+ env:
+ - name: NAMESPACE
+ valueFrom:
+ fieldRef:
+ apiVersion: v1
+ fieldPath: metadata.namespace
+ image: {{ .Values.image.readiness }}
+ imagePullPolicy: {{ .Values.pullPolicy }}
+ name: mso-readiness
containers:
- command:
- /tmp/start-jboss-server.sh
@@ -145,4 +134,4 @@ spec:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/mso/docker-files/scripts/start-jboss-server.sh
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
-#{{ end }} \ No newline at end of file
+#{{ end }}