mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/gcloud-sqlproxy] Add PDB (#6658)
* [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>
This commit is contained in:
committed by
k8s-ci-robot
parent
deb5aa63c4
commit
8dec5f4473
@@ -1,5 +1,5 @@
|
||||
name: gcloud-sqlproxy
|
||||
version: 0.5.0
|
||||
version: 0.6.0
|
||||
appVersion: 1.11
|
||||
description: Google Cloud SQL Proxy
|
||||
keywords:
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
{{- 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 -}}
|
||||
@@ -71,3 +71,6 @@ tolerations: []
|
||||
|
||||
## Affinity
|
||||
affinity: {}
|
||||
|
||||
podDisruptionBudget: |
|
||||
maxUnavailable: 1
|
||||
|
||||
Reference in New Issue
Block a user