[bitnami/nginx-ingress-controller] Do not hardcode PDB apiVersion (#9108)

This commit is contained in:
Juan Ariza Toledano
2022-02-21 11:49:24 +01:00
committed by GitHub
parent c73b3cd333
commit 0086f1b73e
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -26,4 +26,4 @@ name: nginx-ingress-controller
sources:
- https://github.com/bitnami/bitnami-docker-nginx-ingress-controller
- https://github.com/kubernetes/ingress-nginx
version: 9.1.6
version: 9.1.7
@@ -1,5 +1,5 @@
{{- if and .Values.pdb.create (eq .Values.kind "Deployment") }}
apiVersion: policy/v1beta1
apiVersion: {{ include "common.capabilities.policy.apiVersion" . }}
kind: PodDisruptionBudget
metadata:
name: {{ template "common.names.fullname" . }}
@@ -1,5 +1,5 @@
{{- if and .Values.defaultBackend.enabled .Values.defaultBackend.pdb.create }}
apiVersion: policy/v1beta1
apiVersion: {{ include "common.capabilities.policy.apiVersion" . }}
kind: PodDisruptionBudget
metadata:
name: {{ include "nginx-ingress-controller.defaultBackend.fullname" . }}