[stable/kube2iam] Add ability to configure node tolerations (#1829)

This commit is contained in:
Victor Unegbu
2017-08-24 09:10:32 -05:00
committed by Michael Goodness
parent 4db38b3a5c
commit f35fbc253b
3 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: kube2iam
version: 0.5.2
version: 0.5.3
description: Provide IAM credentials to pods based on annotations.
keywords:
- kube2iam
+2
View File
@@ -53,6 +53,8 @@ spec:
{{ toYaml .Values.nodeSelector | indent 8 }}
{{- end }}
serviceAccountName: {{ if .Values.rbac.create }}{{ template "fullname" . }}{{ else }}"{{ .Values.rbac.serviceAccountName }}"{{ end }}
tolerations:
{{ toYaml .Values.tolerations | indent 8 }}
{{- if and (eq .Capabilities.KubeVersion.Major "1") (gt .Capabilities.KubeVersion.Minor "5") }}
updateStrategy:
type: {{ .Values.updateStrategy }}
+2
View File
@@ -46,3 +46,5 @@ resources: {}
updateStrategy: OnDelete
verbose: false
tolerations: []