[bitnami/postgresql-ha] Do not hardcode PDB apiVersion (#9114)

This commit is contained in:
Juan Ariza Toledano
2022-02-21 11:52:44 +01:00
committed by GitHub
parent 7a5f527867
commit 479af5f147
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -27,4 +27,4 @@ name: postgresql-ha
sources:
- https://github.com/bitnami/bitnami-docker-postgresql
- https://www.postgresql.org/
version: 8.4.1
version: 8.4.2
@@ -1,5 +1,5 @@
{{- if .Values.pgpool.pdb.create }}
apiVersion: policy/v1beta1
apiVersion: {{ include "common.capabilities.policy.apiVersion" . }}
kind: PodDisruptionBudget
metadata:
name: {{ include "postgresql-ha.pgpool" . }}
@@ -1,5 +1,5 @@
{{- if .Values.postgresql.pdb.create }}
apiVersion: policy/v1beta1
apiVersion: {{ include "common.capabilities.policy.apiVersion" . }}
kind: PodDisruptionBudget
metadata:
name: {{ include "postgresql-ha.postgresql" . }}