summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/charts/sdc-wfd-be
diff options
context:
space:
mode:
authorpriyanshu <pagarwal@amdocs.com>2019-03-14 12:56:55 +0530
committerpriyanshua <pagarwal@amdocs.com>2019-03-14 12:56:55 +0530
commit617e90ba478078855f468e8149734bd20f951573 (patch)
tree4f0ebb95af25c04f474f00bcf10901c46ecf48b3 /kubernetes/sdc/charts/sdc-wfd-be
parent5b0b0191e1e4820d7cf9c2ae5f70c6504379e671 (diff)
Support execution control of SDC Workflow init
Added a flag to decide whether init job is needed. Change-Id: I1f18675907e606ef6c123b1e6a587f108cab3f73 Issue-ID: OOM-1712 Signed-off-by: priyanshua <pagarwal@amdocs.com>
Diffstat (limited to 'kubernetes/sdc/charts/sdc-wfd-be')
-rw-r--r--kubernetes/sdc/charts/sdc-wfd-be/templates/deployment.yaml2
-rw-r--r--kubernetes/sdc/charts/sdc-wfd-be/templates/job.yaml2
-rw-r--r--kubernetes/sdc/charts/sdc-wfd-be/values.yaml5
3 files changed, 5 insertions, 4 deletions
diff --git a/kubernetes/sdc/charts/sdc-wfd-be/templates/deployment.yaml b/kubernetes/sdc/charts/sdc-wfd-be/templates/deployment.yaml
index fc1538f87a..84285c4a29 100644
--- a/kubernetes/sdc/charts/sdc-wfd-be/templates/deployment.yaml
+++ b/kubernetes/sdc/charts/sdc-wfd-be/templates/deployment.yaml
@@ -32,7 +32,7 @@ spec:
release: {{ .Release.Name }}
spec:
initContainers:
- {{- if .Values.global.initJob.enabled }}
+ {{- if .Values.initJob.enabled }}
- name: {{ include "common.name" . }}-job-completion
image: "{{ .Values.global.readinessRepository }}/{{ .Values.global.readinessImage }}"
imagePullPolicy: "{{ .Values.global.pullPolicy | default .Values.pullPolicy }}"
diff --git a/kubernetes/sdc/charts/sdc-wfd-be/templates/job.yaml b/kubernetes/sdc/charts/sdc-wfd-be/templates/job.yaml
index 98de4760bf..2cfdacbe87 100644
--- a/kubernetes/sdc/charts/sdc-wfd-be/templates/job.yaml
+++ b/kubernetes/sdc/charts/sdc-wfd-be/templates/job.yaml
@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-{{ if .Values.global.initJob.enabled }}
+{{ if .Values.initJob.enabled }}
apiVersion: batch/v1
kind: Job
metadata:
diff --git a/kubernetes/sdc/charts/sdc-wfd-be/values.yaml b/kubernetes/sdc/charts/sdc-wfd-be/values.yaml
index 9d1fbe65cb..8f41fbd669 100644
--- a/kubernetes/sdc/charts/sdc-wfd-be/values.yaml
+++ b/kubernetes/sdc/charts/sdc-wfd-be/values.yaml
@@ -22,8 +22,6 @@ global:
readinessImage: readiness-check:2.0.0
loggingRepository: docker.elastic.co
loggingImage: beats/filebeat:5.5.0
- initJob:
- enabled: true
#################################################################
# Application configuration defaults.
@@ -37,6 +35,9 @@ pullPolicy: Always
# flag to enable debugging - application support required
debugEnabled: false
+initJob:
+ enabled: true
+
config:
javaOptions: "-Xdebug -agentlib:jdwp=transport=dt_socket,address=7001,server=y,suspend=n -Xmx1536m -Xms1536m"
cassandaAuthenticationEnabled: true