--- # yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/gateway.networking.k8s.io/httproute_v1.json apiVersion: gateway.networking.k8s.io/v1 kind: HTTPRoute metadata: name: pushgateway spec: hostnames: - pushgateway.${SECRET_EXTERNAL_DOMAIN} parentRefs: - group: gateway.networking.k8s.io kind: Gateway name: internal namespace: network sectionName: https rules: - backendRefs: - group: '' kind: Service name: pushgateway-prometheus-pushgateway namespace: observability port: 9091 weight: 1 matches: - path: type: PathPrefix value: /