From fd450c4959d9cb4d4ae18218aa8b4e597139ce56 Mon Sep 17 00:00:00 2001 From: Andreas Geissler Date: Fri, 10 Dec 2021 08:36:45 +0000 Subject: [SDC] Add missing dependency to cassandra chart In case of "localCluster: true" the cassandra chart will be added in sdc-cs subchart. Renamed global section to sdc-cassandra. Additionally serviceAccount is added to cassandra definition in sdc-cs (see OOM-2905) Issue-ID: OOM-2899 Signed-off-by: Andreas Geissler Change-Id: Id943db249a3abd9dbc67e333a05f6c2abd84a810 --- kubernetes/sdc/components/sdc-wfd-be/templates/deployment.yaml | 2 +- kubernetes/sdc/components/sdc-wfd-be/templates/job.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'kubernetes/sdc/components/sdc-wfd-be/templates') diff --git a/kubernetes/sdc/components/sdc-wfd-be/templates/deployment.yaml b/kubernetes/sdc/components/sdc-wfd-be/templates/deployment.yaml index 343bda8ff9..1cfcad4f56 100644 --- a/kubernetes/sdc/components/sdc-wfd-be/templates/deployment.yaml +++ b/kubernetes/sdc/components/sdc-wfd-be/templates/deployment.yaml @@ -109,7 +109,7 @@ spec: - name: JAVA_OPTIONS value: {{ .Values.config.javaOptions }} - name: CS_HOSTS - value: "{{ .Values.global.cassandra.serviceName }}" + value: "{{ .Values.global.sdc_cassandra.serviceName }}" - name: CS_PORT value: "{{ .Values.config.cassandraClientPort }}" - name: CS_AUTHENTICATE diff --git a/kubernetes/sdc/components/sdc-wfd-be/templates/job.yaml b/kubernetes/sdc/components/sdc-wfd-be/templates/job.yaml index f7b0cfa04b..da3df9062f 100644 --- a/kubernetes/sdc/components/sdc-wfd-be/templates/job.yaml +++ b/kubernetes/sdc/components/sdc-wfd-be/templates/job.yaml @@ -65,7 +65,7 @@ spec: imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} env: - name: CS_HOST - value: "{{ .Values.global.cassandra.serviceName }}" + value: "{{ .Values.global.sdc_cassandra.serviceName }}" - name: CS_PORT value: "{{ .Values.config.cassandraClientPort }}" - name: CS_AUTHENTICATE -- cgit 1.2.3-korg