[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:
Corey O'Brien
2018-11-05 12:11:50 -08:00
committed by k8s-ci-robot
parent deb5aa63c4
commit 8dec5f4473
3 changed files with 20 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: gcloud-sqlproxy
version: 0.5.0
version: 0.6.0
appVersion: 1.11
description: Google Cloud SQL Proxy
keywords:
+16
View File
@@ -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 -}}
+3
View File
@@ -71,3 +71,6 @@ tolerations: []
## Affinity
affinity: {}
podDisruptionBudget: |
maxUnavailable: 1