Skip to content

Commit cff4107

Browse files
authored
Merge pull request #18 from stackhpc/helm_istio
Use contour in Gateway
2 parents 2af7b6c + ff2fdfb commit cff4107

File tree

2 files changed

+22
-10
lines changed

2 files changed

+22
-10
lines changed

ansible/inventory/group_vars/all/gateway-api

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,36 @@ zuul_operator_gateway_api_gatewayclasses:
66
spec:
77
controllerName: projectcontour.io/gateway-controller
88
zuul_operator_gateway_api_gateways:
9-
- name: zuul-web-gateway
9+
- name: contour
1010
spec:
1111
gatewayClassName: contour
1212
listeners:
13-
- name: zuul-web-gateway-https
14-
protocol: TLS
15-
port: 443
16-
tls:
17-
mode: Passthrough
13+
- name: http
14+
protocol: HTTP
15+
port: 80
16+
allowedRoutes:
17+
namespaces:
18+
from: All
1819

1920
zuul_operator_gateway_api_httproutes:
2021
- name: zuul-web-gateway-route
22+
namespace: zuul
23+
labels:
24+
app: zuul
2125
spec:
2226
parentRefs:
23-
- name: zuul-web-gateway
27+
- group: gateway.networking.k8s.io
28+
kind: Gateway
29+
name: contour
30+
namespace: projectcontour
2431
hostnames:
25-
- "zuul.stackhpc.com"
32+
- "zuul.infra.stackhpc.com"
2633
rules:
34+
- matches:
35+
- path:
36+
type: PathPrefix
37+
value: /
2738
- backendRefs:
28-
- name: zuul-web
39+
- kind: Service
40+
name: zuul-web
2941
port: 8080

ansible/run.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
metadata:
9898
name: "{{ item.name }}"
9999
spec: "{{ item.spec }}"
100-
namespace: "zuul"
100+
namespace: "projectcontour"
101101
state: present
102102
loop: "{{ zuul_operator_gateway_api_gateways }}"
103103
loop_control:

0 commit comments

Comments
 (0)