From bedb50f8b04c0c722d001dbc7071cf61d1efaf47 Mon Sep 17 00:00:00 2001 From: Andreas Sommer Date: Fri, 23 Aug 2024 20:06:57 +0200 Subject: [PATCH] Switch `PodDisruptionBudget` in templates to policy/v1 --- templates/cluster-template-external-cloud-provider.yaml | 2 +- templates/cluster-template.yaml | 2 +- .../cluster-template-external-cloud-provider.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/cluster-template-external-cloud-provider.yaml b/templates/cluster-template-external-cloud-provider.yaml index 60d17ac1e8..beca123294 100644 --- a/templates/cluster-template-external-cloud-provider.yaml +++ b/templates/cluster-template-external-cloud-provider.yaml @@ -841,7 +841,7 @@ data: - emptyDir: {} name: socket-dir --- - apiVersion: policy/v1beta1 + apiVersion: policy/v1 kind: PodDisruptionBudget metadata: labels: diff --git a/templates/cluster-template.yaml b/templates/cluster-template.yaml index 3a9cfffd3b..d2ed5b83f7 100644 --- a/templates/cluster-template.yaml +++ b/templates/cluster-template.yaml @@ -818,7 +818,7 @@ data: - emptyDir: {} name: socket-dir --- - apiVersion: policy/v1beta1 + apiVersion: policy/v1 kind: PodDisruptionBudget metadata: labels: diff --git a/test/e2e/data/infrastructure-aws/withoutclusterclass/e2e_test_templates/cluster-template-external-cloud-provider.yaml b/test/e2e/data/infrastructure-aws/withoutclusterclass/e2e_test_templates/cluster-template-external-cloud-provider.yaml index 1cb8a05825..475d98381c 100644 --- a/test/e2e/data/infrastructure-aws/withoutclusterclass/e2e_test_templates/cluster-template-external-cloud-provider.yaml +++ b/test/e2e/data/infrastructure-aws/withoutclusterclass/e2e_test_templates/cluster-template-external-cloud-provider.yaml @@ -842,7 +842,7 @@ data: - emptyDir: {} name: socket-dir --- - apiVersion: policy/v1beta1 + apiVersion: policy/v1 kind: PodDisruptionBudget metadata: labels: