1 {{- if .Values.server.podDisruptionBudget.enabled }}
2 apiVersion: policy/v1beta1
3 kind: PodDisruptionBudget
5 name: {{ template "prometheus.server.fullname" . }}
6 {{ include "prometheus.namespace" . | indent 2 }}
8 {{- include "prometheus.server.labels" . | nindent 4 }}
10 maxUnavailable: {{ .Values.server.podDisruptionBudget.maxUnavailable }}
13 {{- include "prometheus.server.labels" . | nindent 6 }}