|
@@ -5,6 +5,8 @@ Formats volumeMount for Minio tls keys and trusted certs
|
|
|
{{- if eq (include "minio.certAvailable" .) "true" -}}
|
|
|
- name: cert-secret-volume
|
|
|
mountPath: "/etc/minio/certs"
|
|
|
+- name: trusted-cert-secret-volume
|
|
|
+ mountPath: "/etc/minio/certs/CAs"
|
|
|
{{- end }}
|
|
|
{{- end -}}
|
|
|
|
|
@@ -21,5 +23,11 @@ Formats volume for Minio tls keys and trusted certs
|
|
|
path: public.crt
|
|
|
- key: certPrivateKey
|
|
|
path: private.key
|
|
|
+- name: trusted-cert-secret-volume
|
|
|
+ secret:
|
|
|
+ secretName: {{ include "minio.secretName" . }}
|
|
|
+ items:
|
|
|
+ - key: certPublicKey
|
|
|
+ path: public.crt
|
|
|
{{- end }}
|
|
|
{{- end -}}
|