helm: remove parentheses from podDisruptionBudget (#16605)

This commit is contained in:
atalakey4work 2023-02-13 13:36:06 +03:00 committed by GitHub
parent d6d01067a0
commit c2863cc6ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
{{- if .Values.podDisruptionBudget.enabled }}
{{- if .Capabilities.APIVersions.Has "policy/v1beta1/PodDisruptionBudget") }}
{{- if .Capabilities.APIVersions.Has "policy/v1beta1/PodDisruptionBudget" }}
apiVersion: policy/v1beta1
{{- else }}
apiVersion: policy/v1