mirror of
https://github.com/helm/charts.git
synced 2026-08-20 04:47:32 +00:00
* [stable/gcloud-sqlproxy] Add PDB Signed-off-by: Corey O'Brien <corey@reactiveops.com> * Bump chart version Signed-off-by: Corey O'Brien <corey@reactiveops.com>
17 lines
476 B
YAML
17 lines
476 B
YAML
{{- if .Values.podDisruptionBudget -}}
|
|
apiVersion: policy/v1beta1
|
|
kind: PodDisruptionBudget
|
|
metadata:
|
|
labels:
|
|
app: {{ template "gcloud-sqlproxy.name" . }}
|
|
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
|
|
heritage: {{ .Release.Service }}
|
|
release: {{ .Release.Name }}
|
|
name: {{ template "gcloud-sqlproxy.fullname" . }}
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: {{ template "gcloud-sqlproxy.name" . }}
|
|
{{ .Values.podDisruptionBudget | indent 2 }}
|
|
{{- end -}}
|