apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
  name: server-route
spec:
  parentRefs:
    - name: homelab-gateway
      sectionName: minio
      kind: Gateway
      namespace: homelab
  hostnames:
    - minio.leechpepin.com
  rules:
    - matches:
        - path:
            type: PathPrefix
            value: /
      backendRefs:
        - name: minio-server-svc
          port: 9000