github.com/verrazzano/verrazzano@v1.7.0/platform-operator/thirdparty/charts/prometheus-community/prometheus-pushgateway/templates/pdb.yaml (about)

     1  {{- if .Values.podDisruptionBudget }}
     2  apiVersion: {{ include "prometheus-pushgateway.pdb.apiVersion" . }}
     3  kind: PodDisruptionBudget
     4  metadata:
     5    labels:
     6      {{- include "prometheus-pushgateway.defaultLabels" . | nindent 4 }}
     7    name: {{ include "prometheus-pushgateway.fullname" . }}
     8    namespace: {{ template "prometheus-pushgateway.namespace" . }}
     9  spec:
    10    selector:
    11      matchLabels:
    12        {{- include "prometheus-pushgateway.selectorLabels" . | nindent 6 }}
    13    {{- toYaml .Values.podDisruptionBudget | nindent 2 }}
    14  {{- end }}