summaryrefslogtreecommitdiffstats
path: root/kubernetes/aaf
diff options
context:
space:
mode:
authorkiranya <kiran.yadav@amdocs.com>2017-11-23 07:31:19 +0000
committerkiranya <kiran.yadav@amdocs.com>2017-11-23 07:32:10 +0000
commit8f2d17ed1dd18fc4a31fdb13997cdd9ff1a77a72 (patch)
tree604986729153624f2bba3a61eb872028138949aa /kubernetes/aaf
parent1cee1a3eb985815da8d55ca7bcfa2bf3ac092d34 (diff)
Update annotations to spec for aaf
Issue-ID: OOM-457 Change-Id: I556adf3714119d8ab8515d36303809b36cbe65f4 Signed-off-by: kiranya <kiran.yadav@amdocs.com>
Diffstat (limited to 'kubernetes/aaf')
-rw-r--r--kubernetes/aaf/templates/aaf-deployment.yaml43
1 files changed, 16 insertions, 27 deletions
diff --git a/kubernetes/aaf/templates/aaf-deployment.yaml b/kubernetes/aaf/templates/aaf-deployment.yaml
index 56c99ea37f..6664f18886 100644
--- a/kubernetes/aaf/templates/aaf-deployment.yaml
+++ b/kubernetes/aaf/templates/aaf-deployment.yaml
@@ -15,33 +15,22 @@ spec:
labels:
app: aaf
name: aaf
- annotations:
- pod.beta.kubernetes.io/init-containers: '[
- {
- "args": [
- "--container-name",
- "aaf-cs"
- ],
- "command": [
- "/root/ready.py"
- ],
- "env": [
- {
- "name": "NAMESPACE",
- "valueFrom": {
- "fieldRef": {
- "apiVersion": "v1",
- "fieldPath": "metadata.namespace"
- }
- }
- }
- ],
- "image": "{{ .Values.image.readiness }}",
- "imagePullPolicy": "{{ .Values.pullPolicy }}",
- "name": "aaf-readiness"
- }
- ]'
spec:
+ initContainers:
+ - command:
+ - /root/ready.py
+ args:
+ - --container-name
+ - aaf-cs
+ env:
+ - name: NAMESPACE
+ valueFrom:
+ fieldRef:
+ apiVersion: v1
+ fieldPath: metadata.namespace
+ image: {{ .Values.image.readiness }}
+ imagePullPolicy: {{ .Values.pullPolicy }}
+ name: aaf-readiness
containers:
- env:
- name: CASSANDRA_CLUSTER
@@ -63,4 +52,4 @@ spec:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/aaf/data2
imagePullSecrets:
- name: {{ .Values.nsPrefix }}-docker-registry-key
-#{{ end }} \ No newline at end of file
+#{{ end }}