apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: minio-tenant-1
  namespace: minio-tenant
  annotations:
    kubernetes.io/ingress.class: "nginx"
    nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
    nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
    nginx.ingress.kubernetes.io/ssl-passthrough: "true"
    cert-manager.io/issuer: "vault-issuer"
    acme.cert-manager.io/http01-ingress-class: "nginx"
spec:
  tls:
    - hosts:
        - minio-tenant-1.example.com
      secretName: minio-tenant-1-cert
  rules:
    - host: minio-tenant-1.example.com
      http:
        paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: minio
                port:
                  number: 443
