Skip to content

Commit

Permalink
gcloud-sqlproxy: add tolerations and affinity to the Deployment (helm…
Browse files Browse the repository at this point in the history
…#6495)

* added tolerations and affinity to the deployment

* Update Chart.yaml

* Update values.yaml

Signed-off-by: Jakob Niggel <info@jakobniggel.de>
  • Loading branch information
jvis authored and Jnig committed Nov 13, 2018
1 parent ef2ca24 commit eb5bd57
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stable/gcloud-sqlproxy/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: gcloud-sqlproxy
version: 0.3.6
version: 0.4.0
appVersion: 1.11
description: Google Cloud SQL Proxy
keywords:
Expand Down
6 changes: 5 additions & 1 deletion stable/gcloud-sqlproxy/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,9 @@ spec:
- name: cloudsql
emptyDir: {}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 8 }}
{{ toYaml .Values.nodeSelector | indent 8 }}
affinity:
{{ toYaml .Values.affinity | indent 8 }}
tolerations:
{{ toYaml .Values.tolerations | indent 8 }}
{{- end }}
6 changes: 6 additions & 0 deletions stable/gcloud-sqlproxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,9 @@ resources:

## Node selector
nodeSelector: {}

## Tolerations
tolerations: []

## Affinity
affinity: {}

0 comments on commit eb5bd57

Please sign in to comment.