summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/charts/sdc-kb
diff options
context:
space:
mode:
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>2018-05-01 14:57:32 +0000
committerGerrit Code Review <gerrit@onap.org>2018-05-01 14:57:32 +0000
commitf38eddde9bfca44ffd8c7c23f8468973dddb32fa (patch)
treef7dbb5d15d2b500dd3650ebb1d4b0140748b3c3c /kubernetes/sdc/charts/sdc-kb
parent5689d5f064eff1440be723603895947c7d720b15 (diff)
parent6482f50819e8eb81eaffbec078544b37c728921a (diff)
Merge "Add SDC dependency fixes"
Diffstat (limited to 'kubernetes/sdc/charts/sdc-kb')
-rw-r--r--kubernetes/sdc/charts/sdc-kb/templates/deployment.yaml12
1 files changed, 6 insertions, 6 deletions
diff --git a/kubernetes/sdc/charts/sdc-kb/templates/deployment.yaml b/kubernetes/sdc/charts/sdc-kb/templates/deployment.yaml
index f7467cb621..f33dbe6e38 100644
--- a/kubernetes/sdc/charts/sdc-kb/templates/deployment.yaml
+++ b/kubernetes/sdc/charts/sdc-kb/templates/deployment.yaml
@@ -31,20 +31,20 @@ spec:
release: {{ .Release.Name }}
spec:
initContainers:
- - name: {{ include "common.name" . }}-readiness
+ - name: {{ include "common.name" . }}-job-completion
+ image: "{{ .Values.global.readinessRepository }}/{{ .Values.global.readinessImage }}"
+ imagePullPolicy: "{{ .Values.global.pullPolicy | default .Values.pullPolicy }}"
command:
- - /root/ready.py
+ - /root/job_complete.py
args:
- - --container-name
- - "sdc-es"
+ - --job-name
+ - {{ .Release.Name }}-sdc-es-config-elasticsearch
env:
- name: NAMESPACE
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
- image: "{{ .Values.global.readinessRepository }}/{{ .Values.global.readinessImage }}"
- imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
containers:
- name: {{ include "common.name" . }}
image: "{{ include "common.repository" . }}/{{ .Values.image }}"