-
Notifications
You must be signed in to change notification settings - Fork 0
How to install tenant with tls in OpenShift
Cesar Celis Hernandez edited this page Nov 9, 2022
·
1 revision
To install a MinIO Tenant
with TLS
in OpenShift
.
-
Assuming you have a cluster ready
-
Install the operator:
oc apply -k github.com/minio/operator/resources/\?ref\=v4.5.4
-
Scale Down Operator Replicas to One
-
securityContext
as empty in Operator Deployments. -
Create the Operator Route to connect to the UI.
-
Install cert manager from Operator Hub.
-
Deploy the tenant with tls:
- File:
~/operator/examples/kustomization/tenant-certmanager/tenant.yaml
apiVersion: minio.min.io/v2
kind: Tenant
metadata:
name: storage
namespace: minio-tenant
spec:
## Disable default tls certificates.
requestAutoCert: false
## Use certificates generated by cert-manager.
externalCertSecret:
- name: tenant-certmanager-tls
type: cert-manager.io/v1
## Specification for MinIO Pool(s) in this Tenant.
pools:
- servers: 1
name: pool-0
volumesPerServer: 1
## Configure security context
securityContext: {}
volumeClaimTemplate:
apiVersion: v1
kind: persistentvolumeclaims
metadata: { }
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storageClassName: standard
oc apply -k ~/operator/examples/kustomization/tenant-certmanager