Skip to content

Commit 40de1e8

Browse files
authored
Merge pull request #15 from stackhpc/helm_istio
Rework Contour CRD task
2 parents fc54e53 + 5fe540a commit 40de1e8

File tree

2 files changed

+2
-20
lines changed

2 files changed

+2
-20
lines changed

ansible/inventory/group_vars/all/gateway-api

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
zuul_operator_gateway_api_crd_url: "https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.3.0/standard-install.yaml"
3+
zuul_operator_contour_crd_url: "https://projectcontour.io/quickstart/contour.yaml"
34
zuul_operator_gateway_api_gateways:
45
- name: zuul-web-gateway
56
spec:

ansible/run.yml

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -56,20 +56,6 @@
5656
namespace: "zuul"
5757
state: present
5858

59-
- name: Download Contour CRDs
60-
ansible.builtin.get_url:
61-
url: https://projectcontour.io/quickstart/contour.yaml
62-
dest: /tmp/ansible_zuul_contour.yaml
63-
mode: '0664'
64-
check_mode: false
65-
66-
- name: Download Contour provisioner CRDs
67-
ansible.builtin.get_url:
68-
url: https://projectcontour.io/quickstart/contour-gateway-provisioner.yaml
69-
dest: /tmp/ansible_zuul_contour_provisioner.yaml
70-
mode: '0664'
71-
check_mode: false
72-
7359
- name: Ensure Contour namespace
7460
kubernetes.core.k8s:
7561
name: projectcontour
@@ -79,12 +65,7 @@
7965

8066
- name: Ensure Contour CRDs
8167
kubernetes.core.k8s:
82-
src: /tmp/ansible_zuul_contour.yaml
83-
state: present
84-
85-
- name: Ensure Contour provisioner CRDs
86-
kubernetes.core.k8s:
87-
src: /tmp/ansible_zuul_contour_provisioner.yaml
68+
src: "{{ zuul_operator_contour_crd_url }}"
8869
state: present
8970

9071
- name: Ensure Gateway API CRDs

0 commit comments

Comments
 (0)