I created two ingresses for Minio deployment. One for minio-api https://minio.righive.local and one for minio-ui https://minio-ui.righive.local.
This is my helm values file
ingress:
enabled: true
ingressClassName: “traefik”
hostname: “minio-ui.righive.local”
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: “true”
apiIngress:
enabled: true
ingressClassName: “traefik”
hostname: “minio.righive.local”
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: “true”
Provided a tls-certificate from tls-secret (Using a self-signed certificate)
extraVolumes:
– name: minio-certs
secret:
secretName: tls-cert
items:
– key: tls.crt
path: public.crt
– key: tls.key
path: private.key
– key: tls.crt
path: CAs/public.crt
extraVolumeMounts:
– name: minio-certs
mountPath: “/certs”
readOnly: true
env variables
– name: MINIO_LOG_LEVEL
value: DEBUG
– name: MINIO_IDENTITY_OPENID_CONFIG_URL
value: “https://authentik.righive.local/application/o/minio/.well-known/openid-configuration”
– name: MINIO_IDENTITY_OPENID_CLIENT_ID
value: “yyy”
– name: MINIO_IDENTITY_OPENID_CLIENT_SECRET
value: “xxx”
– name: MINIO_IDENTITY_OPENID_REDIRECT_URI
value: “https://minio.righive.local/oauth_callback”
– name: MINIO_IDENTITY_OPENID_SCOPES
value: “openid,profile,email,minio”
– name: MINIO_BROWSER_REDIRECT_URL
value: “https://minio-ui.righive.local”
– name: MINIO_SERVER_URL
value: “https://minio.righive.local”
When I deploy, the liveness probe fails with 400 status code.