summaryrefslogtreecommitdiffstats
path: root/templates/aai-deployment.yaml
diff options
context:
space:
mode:
authorkiranya <kiran.yadav@amdocs.com>2017-11-22 12:21:55 +0000
committerkiranya <kiran.yadav@amdocs.com>2017-11-22 12:23:00 +0000
commit6eea480a156f1aef66a7df9e30be925231acad5c (patch)
treecae6f852e4877debb188ee34ae33605d6889492b /templates/aai-deployment.yaml
parent92c1ebf7cdb080f823335cd43577133d9788688b (diff)
Update annotations to spec for aai
Issue-ID: OOM-406 Change-Id: I069e0d9c3a6b3abec749f970f08ba11315573205 Signed-off-by: kiranya <kiran.yadav@amdocs.com>
Diffstat (limited to 'templates/aai-deployment.yaml')
-rw-r--r--templates/aai-deployment.yaml41
1 files changed, 18 insertions, 23 deletions
diff --git a/templates/aai-deployment.yaml b/templates/aai-deployment.yaml
index 3f714f3..ddd52c3 100644
--- a/templates/aai-deployment.yaml
+++ b/templates/aai-deployment.yaml
@@ -13,29 +13,24 @@ spec:
labels:
app: aai-service
name: aai-service
- annotations:
- pod.beta.kubernetes.io/init-containers: '[{
- "args": [
- "--container-name", "aai-resources",
- "--container-name", "aai-traversal"
- ],
- "command": [
- "/root/ready.py"
- ],
- "env": [{
- "name": "NAMESPACE",
- "valueFrom": {
- "fieldRef": {
- "apiVersion": "v1",
- "fieldPath": "metadata.namespace"
- }
- }
- }],
- "image": "{{ .Values.image.readiness }}",
- "imagePullPolicy": "{{ .Values.pullPolicy }}",
- "name": "aai-service-readiness"
- }]'
spec:
+ initContainers:
+ - command:
+ - /root/ready.py
+ args:
+ - --container-name
+ - aai-resources
+ - --container-name
+ - aai-traversal
+ env:
+ - name: NAMESPACE
+ valueFrom:
+ fieldRef:
+ apiVersion: v1
+ fieldPath: metadata.namespace
+ image: {{ .Values.image.readiness }}
+ imagePullPolicy: {{ .Values.pullPolicy }}
+ name: aai-service-readiness
containers:
- name: aai-service
image: "{{ .Values.image.aaiProxy }}:{{ .Values.image.aaiProxyVersion}}"
@@ -69,4 +64,4 @@ spec:
restartPolicy: Always
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
-#{{ end }} \ No newline at end of file
+#{{ end }}