summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/charts/aai-champ/templates
diff options
context:
space:
mode:
authorvagrant <vagrant@aai.onap.org>2018-03-10 23:56:32 +0000
committerMandeep Khinda <mandeep.khinda@amdocs.com>2018-04-18 00:05:32 +0000
commit1a3a3557a080ba7ee7d1022d9a3dd0e165779ab2 (patch)
treedb48654f696136ee8f1ca5944befb98e3c94de1c /kubernetes/aai/charts/aai-champ/templates
parent88b15e05a15b70bfbb934111e5572193a45adbb8 (diff)
Update from using hbase to using cassandra
Also update resources and traversal to remove chef MK: Addressing the -1 statefulset comment Issue-ID: AAI-33 Change-Id: Ieee819703764fdda727f17d4e9be43084886828c Signed-off-by: Kajur, Harish vk250x@att.com <vk250x@att.com> Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
Diffstat (limited to 'kubernetes/aai/charts/aai-champ/templates')
-rw-r--r--kubernetes/aai/charts/aai-champ/templates/deployment.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/kubernetes/aai/charts/aai-champ/templates/deployment.yaml b/kubernetes/aai/charts/aai-champ/templates/deployment.yaml
index ccb90213d9..7176d09aeb 100644
--- a/kubernetes/aai/charts/aai-champ/templates/deployment.yaml
+++ b/kubernetes/aai/charts/aai-champ/templates/deployment.yaml
@@ -30,6 +30,21 @@ spec:
app: {{ include "common.name" . }}
release: {{ .Release.Name }}
spec:
+ initContainers:
+ - command:
+ - /root/ready.py
+ args:
+ - --container-name
+ - aai-resources
+ env:
+ - name: NAMESPACE
+ valueFrom:
+ fieldRef:
+ apiVersion: v1
+ fieldPath: metadata.namespace
+ image: "{{ .Values.global.readinessRepository }}/{{ .Values.global.readinessImage }}"
+ imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
+ name: {{ include "common.name" . }}-readiness
containers:
- name: {{ include "common.name" . }}
image: "{{ .Values.global.repository | default .Values.repository }}/{{ .Values.image }}"