apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
  name: http-route-postiz
  namespace: postiz
  labels:
    app.kubernetes.io/name: http-route-postiz
    app.kubernetes.io/instance: postiz
    app.kubernetes.io/part-of: postiz
spec:
  parentRefs:
    - group: gateway.networking.k8s.io
      kind: Gateway
      name: traefik-gateway
      namespace: traefik
  hostnames:
    - postiz.alexlebens.net
  rules:
    - matches:
        - path:
            type: PathPrefix
            value: /
      backendRefs:
        - group: ''
          kind: Service
          name: postiz
          port: 80
          weight: 100
