You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
secretName: {{ if and .Values.dataexchange.certificate.enabled (not .Values.dataexchange.tlsSecret.enabled) }}"{{ include "firefly.fullname" . }}-dx-tls"{{ else }}{{ .Values.dataexchange.tlsSecret.name }}{{ end }}
111
+
{{- if not .Values.dataexchange.persistentVolumes.blobs.enabled }}
112
+
- name: {{ include "firefly.fullname" . }}-dx-blobs
113
+
emptyDir: {}
114
+
{{- end }}
115
+
{{- if or .Values.dataexchange.persistentVolumes.blobs.enabled .Values.dataexchange.persistentVolumes.peers.enabled }}
104
116
volumeClaimTemplates:
105
117
- metadata:
106
-
name: {{ include "firefly.fullname" . }}-dx-peer-certs
118
+
name: {{ include "firefly.fullname" . }}-dx-blobs
119
+
{{- with .Values.dataexchange.persistentVolumes.blobs }}
120
+
{{- with .annotations }}
121
+
annotations:
122
+
{{- toYaml . | nindent 10 }}
123
+
{{- end }}
107
124
spec:
108
125
accessModes:
109
-
- ReadWriteOnce
126
+
{{- toYaml .accessModes | nindent 10 }}
127
+
storageClassName: {{ .storageClass }}
110
128
resources:
111
129
requests:
112
-
storage: 1Gi
130
+
storage: {{ .size }}
131
+
{{- end }}
132
+
{{- end }}
113
133
- metadata:
114
134
name: {{ include "firefly.fullname" . }}-dx-peers
135
+
{{- with .Values.dataexchange.persistentVolumes.peers }}
0 commit comments