diff options
author | dasarathi528024 <ds00528024@techmahindra.com> | 2023-05-03 09:51:20 +0000 |
---|---|---|
committer | Andreas Geissler <andreas-geissler@telekom.de> | 2023-05-26 08:48:39 +0200 |
commit | 65e8f785c1ab86a761970161bb1e754a0e03c895 (patch) | |
tree | d37c350e0a8318f7fc1eac47dab657a0ba9e07d7 /kubernetes/sdc/components/sdc-wfd-be | |
parent | 7448e0aef213763803a670d265ff9d4f6f96027e (diff) |
[COMMON] Adding Common Template for cassa-operator
- K8ssandraCluster resources template file added
- Modification of the cassandra chart to add the option to install
cassandra using the k8ssandra-operator
- AAI and SDC values changed to support the new cassandra settings
- Fix for SDC cql version in jobs
- for London make k8ssandra-operator optional (default: false)
Issue-ID: OOM-3168
Signed-off-by: Dasarathi, Swain (ds00528024) <ds00528024@techmahindra.com>
Change-Id: Idfe232460c9c1f584536e60ea042345d7dca3164
Diffstat (limited to 'kubernetes/sdc/components/sdc-wfd-be')
-rw-r--r-- | kubernetes/sdc/components/sdc-wfd-be/templates/job.yaml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/kubernetes/sdc/components/sdc-wfd-be/templates/job.yaml b/kubernetes/sdc/components/sdc-wfd-be/templates/job.yaml index 9ba05b8631..b9abef8462 100644 --- a/kubernetes/sdc/components/sdc-wfd-be/templates/job.yaml +++ b/kubernetes/sdc/components/sdc-wfd-be/templates/job.yaml @@ -65,6 +65,9 @@ spec: - /bin/sh - -c {{- end }} + volumeMounts: + - name: {{ include "common.fullname" . }}-cqlshrc + mountPath: /home/sdc/.cassandra env: - name: CS_HOST value: "{{ .Values.global.sdc_cassandra.serviceName }}" @@ -78,6 +81,10 @@ spec: valueFrom: {secretKeyRef: {name: {{ include "common.release" . }}-sdc-cs-secrets, key: sdc_password}} resources: {{ include "common.resources" . | nindent 10 }} {{ include "common.waitForJobContainer" . | indent 6 | trim }} + volumes: + - name: {{ include "common.fullname" . }}-cqlshrc + configMap: + name: {{ include "common.release" . }}-sdc-cqlshrc imagePullSecrets: - name: "{{ include "common.namespace" . }}-docker-registry-key" {{ end }} |