Skip to content

Commit

Permalink
[stable/kube2iam] Rolling updates (helm#1276)
Browse files Browse the repository at this point in the history
* [stable/kube2iam] Rolling updates

Also bump to latest image version

* Allow further update strategies
  • Loading branch information
c-knowles authored and Vic Iglesias committed Jul 5, 2017
1 parent 74c8a25 commit d062649
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stable/kube2iam/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: kube2iam
version: 0.2.1
version: 0.3.0
description: Provide IAM credentials to pods based on annotations.
keywords:
- kube2iam
Expand Down
1 change: 1 addition & 0 deletions stable/kube2iam/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ Parameter | Description | Default
`podAnnotations` | annotations to be added to pods | `{}`
`resources` | pod resource requests & limits | `{}`
`verbose` | Enable verbose output | `false`
`updateStrategy` | The strategy for daemon set updates, e.g. `RollingUpdate` (requires Kubernetes 1.6+) | not set

Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,

Expand Down
4 changes: 4 additions & 0 deletions stable/kube2iam/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,7 @@ spec:
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 8 }}
{{- end }}
{{- if .Values.updateStrategy }}
updateStrategy:
type: {{ .Values.updateStrategy }}
{{- end }}
2 changes: 1 addition & 1 deletion stable/kube2iam/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ host:

image:
repository: jtblin/kube2iam
tag: 0.2.2
tag: 0.6.3
pullPolicy: IfNotPresent

## Node labels for pod assignment
Expand Down

0 comments on commit d062649

Please sign in to comment.