istio.io/istio@v0.0.0-20240520182934-d79c90f27776/manifests/charts/gateway/templates/poddisruptionbudget.yaml (about)

     1  {{- if .Values.podDisruptionBudget }}
     2  apiVersion: policy/v1
     3  kind: PodDisruptionBudget
     4  metadata:
     5    name: {{ include "gateway.name" . }}
     6    namespace: {{ .Release.Namespace }}
     7    labels:
     8      {{- include "gateway.labels" . | nindent 4}}
     9  spec:
    10    selector:
    11      matchLabels:
    12    {{- include "gateway.selectorLabels" . | nindent 6 }}
    13    {{- with .Values.podDisruptionBudget }}
    14      {{- toYaml . | nindent 2 }}
    15    {{- end }}
    16  {{- end }}