diff options
author | 2017-12-15 14:40:08 +0000 | |
---|---|---|
committer | 2017-12-15 14:40:08 +0000 | |
commit | 419a83c15d637a92e3d34b5c85df051da084dec1 (patch) | |
tree | 41ac9dd0a9a8520a137c62706a5013d9669b9b33 /templates/aai-deployment.yaml | |
parent | f0ce11b710f56332e38ba08f46e3f8ca2d0c109a (diff) | |
parent | 6eea480a156f1aef66a7df9e30be925231acad5c (diff) |
Merge "Update annotations to spec for aai"
Diffstat (limited to 'templates/aai-deployment.yaml')
-rw-r--r-- | templates/aai-deployment.yaml | 41 |
1 files changed, 18 insertions, 23 deletions
diff --git a/templates/aai-deployment.yaml b/templates/aai-deployment.yaml index c2220ca..a65cf44 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 }} |