We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebc2372 commit 9193ce0Copy full SHA for 9193ce0
Chart.yaml
@@ -1,7 +1,7 @@
1
apiVersion: v1
2
description: A Helm chart for Docker Registry
3
name: docker-registry
4
-version: 2.2.2
+version: 2.2.3
5
appVersion: 2.8.1
6
home: https://hub.docker.com/_/registry/
7
icon: https://helm.twun.io/docker-registry.png
templates/poddisruptionbudget.yaml
@@ -1,8 +1,8 @@
{{- if .Values.podDisruptionBudget -}}
-{{- if .Capabilities.APIVersions.Has "policy/v1beta1" -}}
-apiVersion: policy/v1beta1
-{{- else}}
+{{- if .Capabilities.APIVersions.Has "policy/v1" -}}
apiVersion: policy/v1
+{{- else}}
+apiVersion: policy/v1beta1
{{- end }}
kind: PodDisruptionBudget
8
metadata:
0 commit comments