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