mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/prometheus-blackbox-exporter] Add option to enable/disable PodDisruptionBudget. (#18235)
Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
6d7c371d4c
commit
d03b6ddac8
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
description: Prometheus Blackbox Exporter
|
||||
name: prometheus-blackbox-exporter
|
||||
version: 1.3.1
|
||||
version: 1.4.0
|
||||
appVersion: 0.15.1
|
||||
home: https://github.com/prometheus/blackbox_exporter
|
||||
sources:
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
{{- if .Values.podDisruptionBudget.enabled -}}
|
||||
apiVersion: policy/v1beta1
|
||||
kind: PodDisruptionBudget
|
||||
metadata:
|
||||
@@ -15,3 +16,4 @@ spec:
|
||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||
helm.sh/chart: {{ include "prometheus-blackbox-exporter.chart" . }}
|
||||
{{ toYaml .Values.podDisruptionBudget | indent 2 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
restartPolicy: Always
|
||||
|
||||
podDisruptionBudget:
|
||||
enabled: true
|
||||
maxUnavailable: 0
|
||||
|
||||
strategy:
|
||||
|
||||
Reference in New Issue
Block a user