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 -}}