Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 810 Bytes

operator-tls.md

File metadata and controls

30 lines (24 loc) · 810 Bytes

Passing custom Certs/CAs to Operator

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