summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/components/sdc-wfd-be
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2023-05-26 09:21:02 +0000
committerGerrit Code Review <gerrit@onap.org>2023-05-26 09:21:02 +0000
commit1fcee4e8d3bce9134096dc8c096c20ae54f21f6a (patch)
tree7779282c638764f6e963d88dcc6a054fb180cb51 /kubernetes/sdc/components/sdc-wfd-be
parent7258874e2d9a2d21bf017b1dd6276bb0399151be (diff)
parent65e8f785c1ab86a761970161bb1e754a0e03c895 (diff)
Merge "[COMMON] Adding Common Template for cassa-operator"
Diffstat (limited to 'kubernetes/sdc/components/sdc-wfd-be')
-rw-r--r--kubernetes/sdc/components/sdc-wfd-be/templates/job.yaml7
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 }}