[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
diff --git a/kubernetes/sdc/components/sdc-wfd-be/templates/job.yaml b/kubernetes/sdc/components/sdc-wfd-be/templates/job.yaml
index f7b0cfa..da3df90 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 @@
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