mirror of
https://github.com/google/nomulus
synced 2025-12-23 06:15:42 +00:00
39 lines
699 B
YAML
39 lines
699 B
YAML
apiVersion: gateway.networking.k8s.io/v1beta1
|
|
kind: HTTPRoute
|
|
metadata:
|
|
name: console
|
|
spec:
|
|
parentRefs:
|
|
- kind: Gateway
|
|
name: nomulus
|
|
hostnames:
|
|
- "console.BASE_DOMAIN"
|
|
rules:
|
|
- matches:
|
|
- path:
|
|
type: PathPrefix
|
|
value: /console-api
|
|
- path:
|
|
type: PathPrefix
|
|
value: /console
|
|
backendRefs:
|
|
- group: net.gke.io
|
|
kind: ServiceImport
|
|
name: console
|
|
port: 80
|
|
---
|
|
apiVersion: networking.gke.io/v1
|
|
kind: HealthCheckPolicy
|
|
metadata:
|
|
name: console
|
|
spec:
|
|
default:
|
|
config:
|
|
type: HTTP
|
|
httpHealthCheck:
|
|
requestPath: /healthz/
|
|
targetRef:
|
|
group: net.gke.io
|
|
kind: ServiceImport
|
|
name: console
|