From ffacd0772dcec3a87aa83fa2dfa1f89eb1186609 Mon Sep 17 00:00:00 2001 From: odubajDT Date: Mon, 26 Sep 2022 09:12:57 +0200 Subject: [PATCH] add changes to scheduler to make it deployable Signed-off-by: odubajDT --- .../install/charts/keptn-scheduler/templates/configmap.yaml | 2 +- .../manifests/install/charts/keptn-scheduler/values.yaml | 4 ++-- lfc-scheduler/manifests/permit/scheduler-config.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lfc-scheduler/manifests/install/charts/keptn-scheduler/templates/configmap.yaml b/lfc-scheduler/manifests/install/charts/keptn-scheduler/templates/configmap.yaml index 3e663a11656..07036a13a16 100644 --- a/lfc-scheduler/manifests/install/charts/keptn-scheduler/templates/configmap.yaml +++ b/lfc-scheduler/manifests/install/charts/keptn-scheduler/templates/configmap.yaml @@ -6,7 +6,7 @@ metadata: namespace: {{ .Values.scheduler.namespace }} data: scheduler-config.yaml: | - apiVersion: kubescheduler.config.k8s.io/v1 + apiVersion: kubescheduler.config.k8s.io/v1beta3 kind: KubeSchedulerConfiguration leaderElection: leaderElect: {{ .Values.scheduler.leaderElect }} diff --git a/lfc-scheduler/manifests/install/charts/keptn-scheduler/values.yaml b/lfc-scheduler/manifests/install/charts/keptn-scheduler/values.yaml index ccfdace9182..6aafdcf9654 100644 --- a/lfc-scheduler/manifests/install/charts/keptn-scheduler/values.yaml +++ b/lfc-scheduler/manifests/install/charts/keptn-scheduler/values.yaml @@ -5,8 +5,8 @@ scheduler: name: keptn-scheduler - image: #we still do not have a register setup, edit the Makefile to point to your own register, run 'make push-release-images' copy the resulting image here - namespace: keptn-scheduler + image: docker.io/odubajdt/kube-scheduler:202209261664175687-v0.24.3 #we still do not have a register setup, edit the Makefile to point to your own register, run 'make push-release-images' copy the resulting image here + namespace: operator-system replicaCount: 1 leaderElect: false diff --git a/lfc-scheduler/manifests/permit/scheduler-config.yaml b/lfc-scheduler/manifests/permit/scheduler-config.yaml index 5cc4ca6f1af..caefb1990f2 100644 --- a/lfc-scheduler/manifests/permit/scheduler-config.yaml +++ b/lfc-scheduler/manifests/permit/scheduler-config.yaml @@ -1,4 +1,4 @@ -apiVersion: kubescheduler.config.k8s.io/v1 +apiVersion: kubescheduler.config.k8s.io/v1beta3 kind: KubeSchedulerConfiguration leaderElection: leaderElect: false