From dce8322c55b7a8e6cdd3493fa0008cb6fdfe8f61 Mon Sep 17 00:00:00 2001 From: Tom Plant <21111317+pl4nty@users.noreply.github.com> Date: Sat, 30 Jul 2022 21:51:14 +1000 Subject: [PATCH] fix(k8s): update ingress API to support k8s >v1.21 Update from v1beta1 to v1, as v1beta1 is removed in v1.22 onwards per https://kubernetes.io/docs/reference/using-api/deprecation-guide/#ingress-v122 --- rcds/backends/k8s/manifests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rcds/backends/k8s/manifests.py b/rcds/backends/k8s/manifests.py index 8c8bce8..3074917 100644 --- a/rcds/backends/k8s/manifests.py +++ b/rcds/backends/k8s/manifests.py @@ -11,7 +11,7 @@ KIND_TO_API_VERISON = { "Deployment": "apps/v1", "Service": "v1", - "Ingress": "networking.k8s.io/v1beta1", + "Ingress": "networking.k8s.io/v1", "NetworkPolicy": "networking.k8s.io/v1", }