File tree Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Original file line number Diff line number Diff line change 11---
22zuul_operator_gateway_api_crd_url: "https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.3.0/standard-install.yaml"
3+ zuul_operator_gateway_api_gateways:
4+ - name: zuul-web-gateway
5+ spec:
6+ gatewayClassName: envoy
7+ listeners:
8+ - protocol: HTTPS
9+ port: 443
10+ tls:
11+ mode: Passthrough
12+
13+ zuul_operator_gateway_api_httproutes:
14+ - name: zuul-web-gateway-route
15+ spec:
16+ parentRefs:
17+ - name: zuul-web-gateway
18+ hostnames:
19+ - "zuul.stackhpc.com"
20+ rules:
21+ - backendRefs:
22+ - name: zuul-web
23+ port: 8080
Original file line number Diff line number Diff line change 6363 state : present
6464 when : zuul_operator_gateway_api_crd_url | length > 0
6565
66+ - name : Ensure Gateway API Gateways
67+ kubernetes.core.k8s :
68+ definition :
69+ apiVersion : gateway.networking.k8s.io/v1
70+ kind : Gateway
71+ metadata :
72+ name : " {{ item.name }}"
73+ spec : " {{ item.spec }}"
74+ namespace : " zuul"
75+ state : present
76+ loop : " {{ zuul_operator_gateway_api_gateways }}"
77+ loop_control :
78+ label : " {{ item.name }}"
79+
80+ - name : Ensure Gateway API HTTPRoutes
81+ kubernetes.core.k8s :
82+ definition :
83+ apiVersion : gateway.networking.k8s.io/v1
84+ kind : HTTPRoute
85+ metadata :
86+ name : " {{ item.name }}"
87+ spec : " {{ item.spec }}"
88+ namespace : " zuul"
89+ state : present
90+ loop : " {{ zuul_operator_gateway_api_httproutes }}"
91+ loop_control :
92+ label : " {{ item.name }}"
You can’t perform that action at this time.
0 commit comments