fix!: drop unsupported api versions

- Closes #918
This commit is contained in:
Michael Kriese 2025-01-16 11:12:16 +01:00
parent 2cabd2dd1b
commit 4bfbb48dd3
No known key found for this signature in database
GPG key ID: F8D7748549A5986A
4 changed files with 12 additions and 33 deletions

View file

@ -1,9 +1,5 @@
{{- if .Values.podDisruptionBudget -}}
{{- if .Capabilities.APIVersions.Has "policy/v1" }}
apiVersion: policy/v1
{{- else }}
apiVersion: policy/v1beta1
{{- end }}
kind: PodDisruptionBudget
metadata:
name: {{ include "gitea.fullname" . }}