Skip to content

Commit

Permalink
Update PodDisruptionBudget API version (#754)
Browse files Browse the repository at this point in the history
The Beta API version (policy/v1beta1) of PodDisruptionBudget is no longer served as of version 1.25
  • Loading branch information
igreg authored Dec 19, 2023
1 parent a68c8bf commit 203bee5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/helm/appmesh-controller/templates/pdb.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -15,4 +15,4 @@ spec:
app.kubernetes.io/part-of: appmesh
{{- toYaml .Values.podDisruptionBudget | nindent 2 }}
{{- end -}}
{{- end -}}
{{- end -}}

0 comments on commit 203bee5

Please sign in to comment.