From b9536e54e42e94984ed8fc2a4d07dab5c25beea6 Mon Sep 17 00:00:00 2001 From: Mohamed Omar Zaian Date: Fri, 29 Sep 2023 09:22:45 +0200 Subject: [PATCH] [kubernetes] Kube-scheduler: remove/update deprecated component config v1beta3 (#10484) --- .../control-plane/templates/kubescheduler-config.yaml.j2 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/roles/kubernetes/control-plane/templates/kubescheduler-config.yaml.j2 b/roles/kubernetes/control-plane/templates/kubescheduler-config.yaml.j2 index 4be4b083d90..a517fe83676 100644 --- a/roles/kubernetes/control-plane/templates/kubescheduler-config.yaml.j2 +++ b/roles/kubernetes/control-plane/templates/kubescheduler-config.yaml.j2 @@ -1,5 +1,4 @@ -{% set kubescheduler_config_api_version = "v1beta3" %} -apiVersion: kubescheduler.config.k8s.io/{{ kubescheduler_config_api_version | d('v1') }} +apiVersion: kubescheduler.config.k8s.io/v1 kind: KubeSchedulerConfiguration clientConnection: kubeconfig: "{{ kube_config_dir }}/scheduler.conf"