Skip to content

Commit 36a2088

Browse files
Removes deprecated policy/v1beta1 api from PodDisruptionBudget templates
Signed-off-by: Renato Vassão <renato.vassao@mindbodyonline.com>
1 parent b10e7cf commit 36a2088

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

charts/flagger/templates/pdb.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
{{- if .Values.podDisruptionBudget.enabled }}
2-
{{- if .Capabilities.APIVersions.Has "policy/v1/PodDisruptionBudget" -}}
32
apiVersion: policy/v1
4-
{{- else }}
5-
apiVersion: policy/v1beta1
6-
{{- end }}
73
kind: PodDisruptionBudget
84
metadata:
95
name: {{ template "flagger.name" . }}

charts/loadtester/templates/pdb.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
{{- if .Values.podDisruptionBudget.enabled }}
2-
{{- if .Capabilities.APIVersions.Has "policy/v1/PodDisruptionBudget" -}}
32
apiVersion: policy/v1
4-
{{- else }}
5-
apiVersion: policy/v1beta1
6-
{{- end }}
73
kind: PodDisruptionBudget
84
metadata:
95
name: {{ include "loadtester.fullname" . }}

0 commit comments

Comments
 (0)