diff options
author | 2017-12-15 14:40:08 +0000 | |
---|---|---|
committer | 2017-12-15 14:40:08 +0000 | |
commit | 772191ae39b9932c2e9ab1f0501d89364616d79b (patch) | |
tree | 82006589108329fb8fe55947c30e0dd0e8e55cbe /kubernetes/aai/templates/aai-traversal-deployment.yaml | |
parent | 15502e6e3e82028e25c74b23091665c3bfba8f0c (diff) | |
parent | 52a57830231d060cade7bf10ef0f90d6971ff9c8 (diff) |
Merge "Update annotations to spec for aai"
Diffstat (limited to 'kubernetes/aai/templates/aai-traversal-deployment.yaml')
-rw-r--r-- | kubernetes/aai/templates/aai-traversal-deployment.yaml | 47 |
1 files changed, 18 insertions, 29 deletions
diff --git a/kubernetes/aai/templates/aai-traversal-deployment.yaml b/kubernetes/aai/templates/aai-traversal-deployment.yaml index a54c49a59d..03bd0dcd87 100644 --- a/kubernetes/aai/templates/aai-traversal-deployment.yaml +++ b/kubernetes/aai/templates/aai-traversal-deployment.yaml @@ -13,35 +13,24 @@ spec: labels: app: aai-traversal name: aai-traversal - annotations: - pod.beta.kubernetes.io/init-containers: '[ - { - "args": [ - "--container-name", - "hbase", - "--container-name", - "aai-resources" - ], - "command": [ - "/root/ready.py" - ], - "env": [ - { - "name": "NAMESPACE", - "valueFrom": { - "fieldRef": { - "apiVersion": "v1", - "fieldPath": "metadata.namespace" - } - } - } - ], - "image": "{{ .Values.image.readiness }}", - "imagePullPolicy": "{{ .Values.pullPolicy }}", - "name": "aai-traversal-readiness" - } - ]' spec: + initContainers: + - command: + - /root/ready.py + args: + - --container-name + - hbase + - --container-name + - aai-resources + env: + - name: NAMESPACE + valueFrom: + fieldRef: + apiVersion: v1 + fieldPath: metadata.namespace + image: {{ .Values.image.readiness }} + imagePullPolicy: {{ .Values.pullPolicy }} + name: aai-traversal-readiness containers: - name: aai-traversal image: "{{ .Values.image.aaiTraversalImage }}:{{ .Values.image.aaiTraversalVersion }}" @@ -115,4 +104,4 @@ metadata: namespace: {{ .Values.nsPrefix }}-aai data: {{ (.Files.Glob "resources/traversal/conf/logback.xml").AsConfig | indent 2 }} -#{{ end }}
\ No newline at end of file +#{{ end }} |