<p>I'm trying to use the <strong>MinIO operator</strong> on a minikube (1 node) deployed in an EC2 machine.
The operator is deployed correctly and the same is for the tenant creation and it seems all good until I try to make a connection to the created tenant.
In this case I receive a <strong>500</strong> internal server error then I'm unable to create buckets or to use the mc client that MinIO provides.
I tried both with the MinIO console (using a port-forward) and the command line minio command to create the tenant and both worked.</p>
<p>This is what I see with kubectl:</p>
<p><a href="https://i.stack.imgur.com/qFmKj.png" rel="nofollow noreferrer">mc test</a></p>
<p><a href="https://i.stack.imgur.com/zPJCk.png" rel="nofollow noreferrer">kubectl get all -n minio-tenant-aisync</a></p>
<p><a href="https://i.stack.imgur.com/g8R8t.png" rel="nofollow noreferrer">kubectl get all --all-namespaces</a></p>
<p>I am new to Kubernetes and MinIO then I don't know if I am missing something, could you help me please?</p>

Salvatore Coluccia
<p>The first <code>mc</code> command that you are running shows there is something listening on port <code>9000</code> of your <code>localhost</code>, however you are getting a TLS verification error because MinIO by default is using a certificate issued by the local kubernetes certificate authority, also the returned certificate is not valid for <code>localhost</code> domain,  the solution for this is to add the <code>--insecure</code> flag to your mc command (and include it in all subsequent commands unless you use a valid certificate), ie:</p>
<p><code>./mc alias set minio https://localhost:9000 [accesskey] [secretkey] --insecure</code></p>
