aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/components/sdc-wfd-be
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2021-12-10 08:36:45 +0000
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2022-01-12 07:53:19 +0000
commitfd450c4959d9cb4d4ae18218aa8b4e597139ce56 (patch)
treeb2441bb12066f58ea1cf927a6aad88335e6b842d /kubernetes/sdc/components/sdc-wfd-be
parent0d2cf1aee02c84d5ff262b4ac1d414fdadf5432b (diff)
[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 <andreas-geissler@telekom.de> Change-Id: Id943db249a3abd9dbc67e333a05f6c2abd84a810
Diffstat (limited to 'kubernetes/sdc/components/sdc-wfd-be')
-rw-r--r--kubernetes/sdc/components/sdc-wfd-be/templates/deployment.yaml2
-rw-r--r--kubernetes/sdc/components/sdc-wfd-be/templates/job.yaml2
-rw-r--r--kubernetes/sdc/components/sdc-wfd-be/values.yaml2
3 files changed, 3 insertions, 3 deletions
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
diff --git a/kubernetes/sdc/components/sdc-wfd-be/values.yaml b/kubernetes/sdc/components/sdc-wfd-be/values.yaml
index 8b61567114..d5e4eaaebb 100644
--- a/kubernetes/sdc/components/sdc-wfd-be/values.yaml
+++ b/kubernetes/sdc/components/sdc-wfd-be/values.yaml
@@ -19,7 +19,7 @@
global:
nodePortPrefix: 302
aafEnabled: true
- cassandra:
+ sdc_cassandra:
#This flag allows SDC to instantiate its own cluster, serviceName
#should be sdc-cs if this flag is enabled
localCluster: false