summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/charts/aai-champ/templates
diff options
context:
space:
mode:
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>2018-04-18 00:08:03 +0000
committerGerrit Code Review <gerrit@onap.org>2018-04-18 00:08:03 +0000
commitf2c835390a34a0595f2361cb407110d55095c377 (patch)
tree1752b827f19a0abde85799f0cb86302cdc0b407e /kubernetes/aai/charts/aai-champ/templates
parentef5004bd2145fdff8d529af84e499b5109fffd93 (diff)
parent1a3a3557a080ba7ee7d1022d9a3dd0e165779ab2 (diff)
Merge "Update from using hbase to using cassandra"
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 }}"