---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: minio
  namespace: default
  labels:
    app: minio
  annotations:
    cert-manager.io/cluster-issuer: letsencrypt-prod
    kubernetes.io/tls-acme: "true"
spec:
  ingressClassName: nginx-internal
  tls:
    - hosts:
      - minio.k.${SECRET_DOMAIN}
      secretName: minio-cert
  rules:
    - host: minio.k.${SECRET_DOMAIN}
      http:
        paths:
          - backend:
              service:
                name: minio
                port:
                  number: 9000
            path: /
            pathType: Prefix
