Make TCPRoute and UDPRoute Available (Experimental) (#3)

Co-authored-by: Michael McCulloch <mjm.gitlab@fastmail.com>
This commit is contained in:
Michael McCulloch 2024-02-03 16:46:23 -07:00 committed by GitHub
parent c408fa7a77
commit 5c3e1d6dc0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,17 +10,15 @@
dest: "{{ kubernetes_kubeadm_kubelet_config_file_path }}"
- name: Determine if we are replacing kube-proxy with cilium
set_fact:
replace_kube_proxy="{{ (kubernetes_pod_network.cni == 'cilium') and
(kubernetes_cilium_values is defined) and
(kubernetes_cilium_values.kubeProxyReplacement is defined) and
(kubernetes_cilium_values.kubeProxyReplacement) | bool }}"
set_fact: replace_kube_proxy="{{ (kubernetes_pod_network.cni == 'cilium') and
(kubernetes_cilium_values is defined) and
(kubernetes_cilium_values.kubeProxyReplacement is defined) and
(kubernetes_cilium_values.kubeProxyReplacement) | bool }}"
- name: Determine if we installing Gateway API
set_fact:
install_gateway_api="{{ (replace_kube_proxy) and
(kubernetes_cilium_values.gatewayAPI.enabled is defined) and
(kubernetes_cilium_values.gatewayAPI.enabled)| bool }}"
set_fact: install_gateway_api="{{ (replace_kube_proxy) and
(kubernetes_cilium_values.gatewayAPI.enabled is defined) and
(kubernetes_cilium_values.gatewayAPI.enabled)| bool }}"
- name: Initialize Kubernetes control plane with kubeadm init
command: >
@ -120,6 +118,8 @@
- https://raw.githubusercontent.com/kubernetes-sigs/gateway-api/v1.0.0/config/crd/standard/gateway.networking.k8s.io_referencegrants.yaml
- https://raw.githubusercontent.com/kubernetes-sigs/gateway-api/v1.0.0/config/crd/experimental/gateway.networking.k8s.io_grpcroutes.yaml
- https://raw.githubusercontent.com/kubernetes-sigs/gateway-api/v1.0.0/config/crd/experimental/gateway.networking.k8s.io_tlsroutes.yaml
- https://raw.githubusercontent.com/kubernetes-sigs/gateway-api/v1.0.0/config/crd/experimental/gateway.networking.k8s.io_tcproutes.yaml
- https://raw.githubusercontent.com/kubernetes-sigs/gateway-api/v1.0.0/config/crd/experimental/gateway.networking.k8s.io_udproutes.yaml
- name: Configure Cilium networking
command: >