To configure MinIO Operator to trust custom certificates, create a secret with the certificate.
kubectl create secret generic my-custom-tls -n minio-operator --from-file=path/to/public.crt
Then, add the following volume to the minio-operator
deployment under .spec.template.spec
,
volumes:
- name: tls-certificates
projected:
defaultMode: 420
sources:
- secret:
items:
- key: public.crt
path: CAs/custom-public.crt
name: my-custom-tls
and the following under .spec.template.spec.container[0]
volumeMounts:
- mountPath: /tmp/certs
name: tls-certificates