[bitnami/spring-cloud-dataflow] Do not hardcode PDB apiVersion (#9117)

This commit is contained in:
Juan Ariza Toledano
2022-02-21 11:54:31 +01:00
committed by GitHub
parent 646af2465e
commit 9446ea37dd
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -39,4 +39,4 @@ sources:
- https://github.com/bitnami/bitnami-docker-spring-cloud-dataflow
- https://github.com/bitnami/bitnami-docker-spring-cloud-skipper
- https://dataflow.spring.io/
version: 5.2.0
version: 5.2.1
@@ -1,5 +1,5 @@
{{- if .Values.metrics.pdb.create }}
apiVersion: policy/v1beta1
apiVersion: {{ include "common.capabilities.policy.apiVersion" . }}
kind: PodDisruptionBudget
metadata:
name: {{ include "scdf.fullname" . }}-prometheus-proxy
@@ -1,5 +1,5 @@
{{- if .Values.server.pdb.create }}
apiVersion: policy/v1beta1
apiVersion: {{ include "common.capabilities.policy.apiVersion" . }}
kind: PodDisruptionBudget
metadata:
name: {{ include "scdf.fullname" . }}-server
@@ -1,5 +1,5 @@
{{- if and (or .Values.skipper.enabled .Values.server.configuration.streamingEnabled) .Values.skipper.pdb.create }}
apiVersion: policy/v1beta1
apiVersion: {{ include "common.capabilities.policy.apiVersion" . }}
kind: PodDisruptionBudget
metadata:
name: {{ include "scdf.fullname" . }}-skipper