diff --git a/bitnami/haproxy/Chart.yaml b/bitnami/haproxy/Chart.yaml index b625f73168..94104b1231 100644 --- a/bitnami/haproxy/Chart.yaml +++ b/bitnami/haproxy/Chart.yaml @@ -23,4 +23,4 @@ name: haproxy sources: - https://github.com/bitnami/bitnami-docker-haproxy - https://github.com/haproxytech/haproxy -version: 0.2.7 +version: 0.2.8 diff --git a/bitnami/haproxy/templates/pdb.yaml b/bitnami/haproxy/templates/pdb.yaml index c37a3d09b7..c0bc1d1f20 100644 --- a/bitnami/haproxy/templates/pdb.yaml +++ b/bitnami/haproxy/templates/pdb.yaml @@ -1,5 +1,5 @@ {{- if .Values.pdb.create }} -apiVersion: policy/v1beta1 +apiVersion: {{ include "common.capabilities.policy.apiVersion" . }} kind: PodDisruptionBudget metadata: name: {{ template "common.names.fullname" . }}