Skip to content

Commit 7b56dc7

Browse files
authored
Merge pull request #16 from stackhpc/helm_istio
Add GatewayClass
2 parents 40de1e8 + 6daff6d commit 7b56dc7

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

ansible/inventory/group_vars/all/gateway-api

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
---
22
zuul_operator_gateway_api_crd_url: "https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.3.0/standard-install.yaml"
33
zuul_operator_contour_crd_url: "https://projectcontour.io/quickstart/contour.yaml"
4+
zuul_operator_gateway_api_gatewayclasses:
5+
- name: contour
6+
spec:
7+
controllerName: projectcontour.io/gateway-controller
48
zuul_operator_gateway_api_gateways:
59
- name: zuul-web-gateway
610
spec:

ansible/run.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,19 @@
7676
when: zuul_operator_gateway_api_crd_url | length > 0
7777
tags: gateway-api
7878

79+
- name: Ensure Gateway API GatewayClasses
80+
kubernetes.core.k8s:
81+
definition:
82+
apiVersion: gateway.networking.k8s.io/v1
83+
kind: GatewayClass
84+
metadata:
85+
name: "{{ item.name }}"
86+
spec: "{{ item.spec }}"
87+
loop: "{{ zuul_operator_gateway_api_gatewayclasses }}"
88+
loop_control:
89+
label: "{{ item.name }}"
90+
tags: gateway-api
91+
7992
- name: Ensure Gateway API Gateways
8093
kubernetes.core.k8s:
8194
definition:

0 commit comments

Comments
 (0)