From 92f944a817fb20d3ca3dfab923c4520dbdc97b59 Mon Sep 17 00:00:00 2001 From: Norbert Glankovic Date: Fri, 28 Jul 2023 18:26:19 +0200 Subject: [PATCH] Changed API version for poddisturtionbudget In kubernetes version 1.25 the API policy/v1beta1 for PDB was removed The helm chart still uses this old API and is making upgrading impossible --- .../charts/templates/kube-controllers-deployment.yaml | 2 +- packages/rke2-canal/package.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/rke2-canal/charts/templates/kube-controllers-deployment.yaml b/packages/rke2-canal/charts/templates/kube-controllers-deployment.yaml index 7afa4f45b..2ce74464f 100644 --- a/packages/rke2-canal/charts/templates/kube-controllers-deployment.yaml +++ b/packages/rke2-canal/charts/templates/kube-controllers-deployment.yaml @@ -62,7 +62,7 @@ spec: --- # This manifest creates a Pod Disruption Budget for Controller to allow K8s Cluster Autoscaler to evict -apiVersion: policy/v1beta1 +apiVersion: policy/v1 kind: PodDisruptionBudget metadata: name: calico-kube-controllers diff --git a/packages/rke2-canal/package.yaml b/packages/rke2-canal/package.yaml index 226026f1f..85d97b209 100644 --- a/packages/rke2-canal/package.yaml +++ b/packages/rke2-canal/package.yaml @@ -1,2 +1,2 @@ url: local -packageVersion: 00 +packageVersion: 01