From 203bee5717e102998d4a0943cc3e0ace6bbfc225 Mon Sep 17 00:00:00 2001 From: Gregory Becker Date: Tue, 19 Dec 2023 22:56:04 +0000 Subject: [PATCH] Update PodDisruptionBudget API version (#754) The Beta API version (policy/v1beta1) of PodDisruptionBudget is no longer served as of version 1.25 --- config/helm/appmesh-controller/templates/pdb.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/helm/appmesh-controller/templates/pdb.yaml b/config/helm/appmesh-controller/templates/pdb.yaml index 326d67ac..8141234a 100644 --- a/config/helm/appmesh-controller/templates/pdb.yaml +++ b/config/helm/appmesh-controller/templates/pdb.yaml @@ -1,10 +1,10 @@ {{- if .Values.podDisruptionBudget }} {{- if gt (int .Values.replicaCount) 1 }} kind: PodDisruptionBudget -apiVersion: policy/v1beta1 +apiVersion: policy/v1 metadata: name: {{ template "appmesh-controller.fullname" . }}-pdb - namespace: {{ .Release.Namespace }} + namespace: {{ .Release.Namespace }} labels: {{ include "appmesh-controller.labels" . | indent 4 }} spec: @@ -15,4 +15,4 @@ spec: app.kubernetes.io/part-of: appmesh {{- toYaml .Values.podDisruptionBudget | nindent 2 }} {{- end -}} -{{- end -}} \ No newline at end of file +{{- end -}}