blob: 4f3efd2ed07a6b3415673dbf2f477a03b5789e6e [file] [log] [blame]
Mohammed Naser9ad0d462023-01-15 20:36:37 -05001{{- if .Values.podDisruptionBudget -}}
2apiVersion: policy/v1beta1
3kind: PodDisruptionBudget
4metadata:
5 name: {{ template "prometheus-pushgateway.fullname" . }}
6 labels:
7{{ template "prometheus-pushgateway.defaultLabels" merge (dict "extraLabels" .Values.podLabels) . }}
8spec:
9 selector:
10 matchLabels:
11 app: {{ template "prometheus-pushgateway.name" . }}
12{{ toYaml .Values.podDisruptionBudget | indent 2 }}
13{{- end -}}