From 4701abff4c08255068058935b979124e575f359e Mon Sep 17 00:00:00 2001 From: Kay Yan Date: Tue, 11 Oct 2022 08:51:02 +0800 Subject: [PATCH] upgrade-api-version-for-PodDisruptionBudget (#9369) --- .../cinder/templates/cinder-csi-poddisruptionbudget.yml.j2 | 2 +- roles/network_plugin/calico/templates/calico-typha.yml.j2 | 2 +- roles/network_plugin/cilium/templates/hubble/cronjob.yml.j2 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/kubernetes-apps/csi_driver/cinder/templates/cinder-csi-poddisruptionbudget.yml.j2 b/roles/kubernetes-apps/csi_driver/cinder/templates/cinder-csi-poddisruptionbudget.yml.j2 index 615721ff0..391d3b33a 100644 --- a/roles/kubernetes-apps/csi_driver/cinder/templates/cinder-csi-poddisruptionbudget.yml.j2 +++ b/roles/kubernetes-apps/csi_driver/cinder/templates/cinder-csi-poddisruptionbudget.yml.j2 @@ -1,4 +1,4 @@ -apiVersion: policy/v1beta1 +apiVersion: policy/v1 kind: PodDisruptionBudget metadata: name: cinder-csi-pdb diff --git a/roles/network_plugin/calico/templates/calico-typha.yml.j2 b/roles/network_plugin/calico/templates/calico-typha.yml.j2 index 65e6606b2..22d2f2cac 100644 --- a/roles/network_plugin/calico/templates/calico-typha.yml.j2 +++ b/roles/network_plugin/calico/templates/calico-typha.yml.j2 @@ -176,7 +176,7 @@ spec: # This manifest creates a Pod Disruption Budget for Typha to allow K8s Cluster Autoscaler to evict -apiVersion: policy/v1beta1 +apiVersion: policy/v1 kind: PodDisruptionBudget metadata: name: calico-typha diff --git a/roles/network_plugin/cilium/templates/hubble/cronjob.yml.j2 b/roles/network_plugin/cilium/templates/hubble/cronjob.yml.j2 index 7799a79ad..dd97bbfc5 100644 --- a/roles/network_plugin/cilium/templates/hubble/cronjob.yml.j2 +++ b/roles/network_plugin/cilium/templates/hubble/cronjob.yml.j2 @@ -1,6 +1,6 @@ --- # Source: cilium/templates/hubble-generate-certs-cronjob.yaml -apiVersion: batch/v1beta1 +apiVersion: batch/v1 kind: CronJob metadata: name: hubble-generate-certs