Skip to content

Commit

Permalink
Merge pull request #12 from stakater-charts/add-tolerations
Browse files Browse the repository at this point in the history
add tolerations
  • Loading branch information
kahootali authored Jan 24, 2019
2 parents b9932a8 + df4e160 commit 69e5109
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions pgadmin-templates/values.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ pgadmin:
username: admin
email: hello@stakater.com
url: ""
tolerations: {}
deployment:
replicas: 1
podLabels:
Expand Down
4 changes: 4 additions & 0 deletions pgadmin/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ spec:
{{ toYaml .Values.pgadmin.deployment.spec.template.annotations | indent 8 }}
{{- end }}
spec:
{{- if .Values.pgadmin.tolerations }}
tolerations:
{{ toYaml .Values.pgadmin.tolerations | indent 8 -}}
{{- end }}
containers:
- name: pgadmin
image: {{ .Values.pgadmin.deployment.spec.template.container.image }}
Expand Down
1 change: 1 addition & 0 deletions pgadmin/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ pgadmin:
username: admin
email: hello@stakater.com
url: ""
tolerations: {}
deployment:
replicas: 1
podLabels:
Expand Down

0 comments on commit 69e5109

Please sign in to comment.