summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/templates/aai-resources-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
commit52a57830231d060cade7bf10ef0f90d6971ff9c8 (patch)
treed31acdc1972bcfd58ae746b263eb84c8396c27f6 /kubernetes/aai/templates/aai-resources-deployment.yaml
parentbda2ac819dc074c3f8685f05b4669fd4c89ede3d (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 'kubernetes/aai/templates/aai-resources-deployment.yaml')
-rw-r--r--kubernetes/aai/templates/aai-resources-deployment.yaml43
1 files changed, 16 insertions, 27 deletions
diff --git a/kubernetes/aai/templates/aai-resources-deployment.yaml b/kubernetes/aai/templates/aai-resources-deployment.yaml
index ebf447f3ca..2e46284076 100644
--- a/kubernetes/aai/templates/aai-resources-deployment.yaml
+++ b/kubernetes/aai/templates/aai-resources-deployment.yaml
@@ -13,33 +13,22 @@ spec:
labels:
app: aai-resources
name: aai-resources
- annotations:
- pod.beta.kubernetes.io/init-containers: '[
- {
- "args": [
- "--container-name",
- "hbase"
- ],
- "command": [
- "/root/ready.py"
- ],
- "env": [
- {
- "name": "NAMESPACE",
- "valueFrom": {
- "fieldRef": {
- "apiVersion": "v1",
- "fieldPath": "metadata.namespace"
- }
- }
- }
- ],
- "image": "{{ .Values.image.readiness }}",
- "imagePullPolicy": "{{ .Values.pullPolicy }}",
- "name": "aai-resources-readiness"
- }
- ]'
spec:
+ initContainers:
+ - command:
+ - /root/ready.py
+ args:
+ - --container-name
+ - hbase
+ env:
+ - name: NAMESPACE
+ valueFrom:
+ fieldRef:
+ apiVersion: v1
+ fieldPath: metadata.namespace
+ image: {{ .Values.image.readiness }}
+ imagePullPolicy: {{ .Values.pullPolicy }}
+ name: aai-resources-readiness
containers:
- name: aai-resources
image: "{{ .Values.image.aaiResourcesImage }}:{{ .Values.image.aaiResourcesVersion}}"
@@ -113,4 +102,4 @@ metadata:
namespace: {{ .Values.nsPrefix }}-aai
data:
{{ (.Files.Glob "resources/resources/conf/logback.xml").AsConfig | indent 2 }}
-#{{ end }} \ No newline at end of file
+#{{ end }}