From 9a75501152cc32845026d76702396b571fea93c4 Mon Sep 17 00:00:00 2001 From: Florian Ruynat <16313165+floryut@users.noreply.github.com> Date: Mon, 18 Jan 2021 22:12:27 +0100 Subject: [PATCH] Promote node.k8s.io API groups from v1beta1 to v1 --- .../container_runtimes/crun/files/runtimeclass-crun.yml | 2 +- .../kata_containers/templates/runtimeclass-kata-qemu.yml.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/kubernetes-apps/container_runtimes/crun/files/runtimeclass-crun.yml b/roles/kubernetes-apps/container_runtimes/crun/files/runtimeclass-crun.yml index 1e23a4aa9..b3d87bfde 100644 --- a/roles/kubernetes-apps/container_runtimes/crun/files/runtimeclass-crun.yml +++ b/roles/kubernetes-apps/container_runtimes/crun/files/runtimeclass-crun.yml @@ -1,6 +1,6 @@ --- kind: RuntimeClass -apiVersion: node.k8s.io/v1beta1 +apiVersion: node.k8s.io/v1{{ 'beta1' if kube_version is version('v1.20.0', '<') }} metadata: name: crun handler: crun diff --git a/roles/kubernetes-apps/container_runtimes/kata_containers/templates/runtimeclass-kata-qemu.yml.j2 b/roles/kubernetes-apps/container_runtimes/kata_containers/templates/runtimeclass-kata-qemu.yml.j2 index 7f3559554..b46e92b79 100644 --- a/roles/kubernetes-apps/container_runtimes/kata_containers/templates/runtimeclass-kata-qemu.yml.j2 +++ b/roles/kubernetes-apps/container_runtimes/kata_containers/templates/runtimeclass-kata-qemu.yml.j2 @@ -1,6 +1,6 @@ --- kind: RuntimeClass -apiVersion: node.k8s.io/v1beta1 +apiVersion: node.k8s.io/v1{{ 'beta1' if kube_version is version('v1.20.0', '<') }} metadata: name: kata-qemu handler: kata-qemu