blob: 6051133c6839a8ad233fd7e4eb754037a9882830 [file] [log] [blame]
Mohammed Naser65cda132024-05-02 14:34:08 -04001{{- if .Values.podDisruptionBudget }}
2apiVersion: {{ include "prometheus-pushgateway.pdb.apiVersion" . }}
Mohammed Naser9ad0d462023-01-15 20:36:37 -05003kind: PodDisruptionBudget
4metadata:
Mohammed Naser9ad0d462023-01-15 20:36:37 -05005 labels:
Mohammed Naser65cda132024-05-02 14:34:08 -04006 {{- include "prometheus-pushgateway.defaultLabels" . | nindent 4 }}
7 name: {{ include "prometheus-pushgateway.fullname" . }}
8 namespace: {{ template "prometheus-pushgateway.namespace" . }}
Mohammed Naser9ad0d462023-01-15 20:36:37 -05009spec:
10 selector:
11 matchLabels:
Mohammed Naser65cda132024-05-02 14:34:08 -040012 {{- include "prometheus-pushgateway.selectorLabels" . | nindent 6 }}
13 {{- toYaml .Values.podDisruptionBudget | nindent 2 }}
14{{- end }}