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