diff --git a/ansible/inventory/group_vars/all/gateway-api b/ansible/inventory/group_vars/all/gateway-api index 3caf615..118b688 100644 --- a/ansible/inventory/group_vars/all/gateway-api +++ b/ansible/inventory/group_vars/all/gateway-api @@ -1,5 +1,6 @@ --- zuul_operator_gateway_api_crd_url: "https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.3.0/standard-install.yaml" +zuul_operator_contour_crd_url: "https://projectcontour.io/quickstart/contour.yaml" zuul_operator_gateway_api_gateways: - name: zuul-web-gateway spec: diff --git a/ansible/run.yml b/ansible/run.yml index 9f22db8..0fb9344 100644 --- a/ansible/run.yml +++ b/ansible/run.yml @@ -56,20 +56,6 @@ namespace: "zuul" state: present - - name: Download Contour CRDs - ansible.builtin.get_url: - url: https://projectcontour.io/quickstart/contour.yaml - dest: /tmp/ansible_zuul_contour.yaml - mode: '0664' - check_mode: false - - - name: Download Contour provisioner CRDs - ansible.builtin.get_url: - url: https://projectcontour.io/quickstart/contour-gateway-provisioner.yaml - dest: /tmp/ansible_zuul_contour_provisioner.yaml - mode: '0664' - check_mode: false - - name: Ensure Contour namespace kubernetes.core.k8s: name: projectcontour @@ -79,12 +65,7 @@ - name: Ensure Contour CRDs kubernetes.core.k8s: - src: /tmp/ansible_zuul_contour.yaml - state: present - - - name: Ensure Contour provisioner CRDs - kubernetes.core.k8s: - src: /tmp/ansible_zuul_contour_provisioner.yaml + src: "{{ zuul_operator_contour_crd_url }}" state: present - name: Ensure Gateway API CRDs