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

     1  {{- if .Values.global.defaultPodDisruptionBudget.enabled }}
     2  apiVersion: policy/v1
     3  kind: PodDisruptionBudget
     4  metadata:
     5    name: istiod{{- if not (eq .Values.revision "") }}-{{ .Values.revision }}{{- end }}
     6    namespace: {{ .Release.Namespace }}
     7    labels:
     8      app: istiod
     9      istio.io/rev: {{ .Values.revision | default "default" | quote }}
    10      install.operator.istio.io/owning-resource: {{ .Values.ownerName | default "unknown" }}
    11      operator.istio.io/component: "Pilot"
    12      release: {{ .Release.Name }}
    13      istio: pilot
    14  spec:
    15    minAvailable: 1
    16    selector:
    17      matchLabels:
    18        app: istiod
    19        {{- if ne .Values.revision "" }}
    20        istio.io/rev: {{ .Values.revision | quote }}
    21        {{- else }}
    22        istio: pilot
    23        {{- end }}
    24  ---
    25  {{- end }}