Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / platform / components / oauth2-proxy / components / oauth2-proxy / templates / poddisruptionbudget.yaml
1 {{- if and .Values.podDisruptionBudget.enabled (gt (.Values.replicaCount | int) 1) }}
2 apiVersion: {{ include "capabilities.podDisruptionBudget.apiVersion" . }}
3 kind: PodDisruptionBudget
4 metadata:
5   labels:
6     app: {{ template "oauth2-proxy.name" . }}
7 {{- include "oauth2-proxy.labels" . | indent 4 }}
8   name: {{ template "oauth2-proxy.fullname" . }}
9 spec:
10   selector:
11     matchLabels:
12       {{- include "oauth2-proxy.selectorLabels" . | indent 6 }}
13   minAvailable: {{ .Values.podDisruptionBudget.minAvailable }}
14 {{- end }}