Operator behavior can be customized using environment variables in the minio-operator deployment. Here is a list of the available environment variables:
| Variable Name | Description | Possible values | default |
|---|---|---|---|
| MINIO_OPERATOR_CERTIFICATES_VERSION | This forces which certificate api version to use. | v1,v1beta1 |
whichever api k8s provides |
| MINIO_OPERATOR_CSR_SIGNER_NAME | The name to use for the CSR Signer. It will override the default | kubernetes.io/kubelet-serving |
|
| SUBNET_BASE_URL | Subnet base URL | https://subnet.min.io | |
| OPERATOR_CERT_PASSWD | This is used to decrypt the private key in the TLS certificate for operator, if needed | ||
| OPERATOR_STS_ENABLED | This toggles the STS Service on or off | on, off |
on |
| OPERATOR_STS_AUTO_TLS_ENABLED | Env variable name to turn on and off generating the STS TLS certificate automatically using CSR. If it is disabled, you must provide a certificate issued externally | on, off |
on |
| WATCHED_NAMESPACE | The namespaces which the operator watches for MinIO tenants. Defaults to "" for all namespaces. |
||
| OPERATOR_SIDECAR_IMAGE | This variable controls the image of the minio instance's sidecar and validate-arguments. If not set, the mirrors of the minio instance's sidecar and validate-arguments use the operator's image. | "" | "" |
| CLUSTER_DOMAIN | Controls the cluster name to use when "building" the full DNS name that the operator uses to access the tenant instances (for example for health checks). | "my-cluster.company.com" | "cluster.local" |