mirror of
https://github.com/bitnami/charts.git
synced 2026-08-10 14:15:55 +08:00
[bitnami/nginx-ingress-controller] Do not hardcode PDB apiVersion (#9108)
This commit is contained in:
@@ -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" . }}
|
||||
|
||||
Reference in New Issue
Block a user