From 1a4046f9b1e9befcca677836a15031547192db03 Mon Sep 17 00:00:00 2001 From: Samuel Liu Date: Tue, 25 Apr 2023 17:16:44 +0800 Subject: [PATCH] Migrated pdb resource to policy/v1 API version The policy/v1beta1 API version of PodDisruptionBudget is no longer served as of v1.25. ref: https://kubernetes.io/docs/reference/using-api/deprecation-guide/#poddisruptionbudget-v125 Change-Id: Ib9edd7f159aedf1f2f054bcb9f2281389ba206b5 --- gnocchi/Chart.yaml | 2 +- gnocchi/templates/pdb-api.yaml | 2 +- releasenotes/notes/gnocchi.yaml | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gnocchi/Chart.yaml b/gnocchi/Chart.yaml index 4ffdbc958..ff3ccb747 100644 --- a/gnocchi/Chart.yaml +++ b/gnocchi/Chart.yaml @@ -15,7 +15,7 @@ apiVersion: v1 appVersion: v3.0.3 description: OpenStack-Helm Gnocchi name: gnocchi -version: 0.1.7 +version: 0.1.8 home: https://gnocchi.xyz/ icon: https://gnocchi.xyz/_static/gnocchi-logo.png sources: diff --git a/gnocchi/templates/pdb-api.yaml b/gnocchi/templates/pdb-api.yaml index bc8dee036..6b30e5ceb 100644 --- a/gnocchi/templates/pdb-api.yaml +++ b/gnocchi/templates/pdb-api.yaml @@ -15,7 +15,7 @@ limitations under the License. {{- if .Values.manifests.pdb_api }} {{- $envAll := . }} --- -apiVersion: policy/v1beta1 +apiVersion: policy/v1 kind: PodDisruptionBudget metadata: name: gnocchi-api diff --git a/releasenotes/notes/gnocchi.yaml b/releasenotes/notes/gnocchi.yaml index 08e2c6f79..1581c8f48 100644 --- a/releasenotes/notes/gnocchi.yaml +++ b/releasenotes/notes/gnocchi.yaml @@ -8,4 +8,6 @@ gnocchi: - 0.1.5 Enable taint toleration for Openstack services jobs - 0.1.6 Update all Ceph images to Focal - 0.1.7 Replace node-role.kubernetes.io/master with control-plane + - 0.1.8 Migrated pdb resource to policy/v1 API version + ...