blob: c69fb7c81c6cbd0495d2b8f96895024f323e9c6a [file] [log] [blame]
priyanshu5698c832019-03-26 18:02:33 +05301{{- define "sdc-wfd-be.volumes" }}
2 {{ if .Values.config.cassandraSSLEnabled }}
3 - name: {{ include "common.fullname" . }}-cassandra-client-truststore
4 hostPath:
5 path: /etc/cassandra-client-truststore/truststore
6 type: File
7 {{- end }}
8 {{ if .Values.config.serverSSLEnabled }}
9 - name: {{ include "common.fullname" . }}-server-https-keystore
10 hostPath:
11 path: /config/server-https-keystore/keystore
12 type: File
13 {{- end }}
14{{- end }}
15
16{{- define "sdc-wfd-be.volumeMounts" }}
17 {{ if .Values.config.cassandraSSLEnabled }}
18 - name: {{ include "common.fullname" . }}-cassandra-client-truststore
19 mountPath: /etc/cassandra-client-truststore/truststore
20 subPath: truststore
21 readOnly: true
22 {{- end }}
23 {{ if .Values.config.serverSSLEnabled }}
24 - name: {{ include "common.fullname" . }}-server-https-keystore
25 mountPath: /etc/server-https-keystore/keystore
26 subPath: keystore
27 readOnly: true
28 {{- end }}
29{{- end }}