diff --git a/stable/kube2iam/Chart.yaml b/stable/kube2iam/Chart.yaml index 7199b0f492..36f60db495 100644 --- a/stable/kube2iam/Chart.yaml +++ b/stable/kube2iam/Chart.yaml @@ -1,5 +1,5 @@ name: kube2iam -version: 0.7.0 +version: 0.8.0 description: Provide IAM credentials to pods based on annotations. keywords: - kube2iam diff --git a/stable/kube2iam/README.md b/stable/kube2iam/README.md index 435013abcf..5fcc2adbb1 100644 --- a/stable/kube2iam/README.md +++ b/stable/kube2iam/README.md @@ -56,7 +56,6 @@ Parameter | Description | Default `updateStrategy` | Strategy for DaemonSet updates (requires Kubernetes 1.6+) | `OnDelete` `verbose` | Enable verbose output | `false` - Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example, ```console diff --git a/stable/kube2iam/templates/daemonset.yaml b/stable/kube2iam/templates/daemonset.yaml index 1837c401f8..1edac3891b 100644 --- a/stable/kube2iam/templates/daemonset.yaml +++ b/stable/kube2iam/templates/daemonset.yaml @@ -37,6 +37,7 @@ spec: {{- if .Values.verbose }} - --verbose {{- end }} + - --app-port={{ .Values.host.port }} env: - name: HOST_IP valueFrom: @@ -59,7 +60,17 @@ spec: value: {{ .Values.aws.region }} {{- end }} ports: - - containerPort: 8181 + - containerPort: {{ .Values.host.port }} + livenessProbe: + httpGet: + path: /healthz + port: {{ .Values.host.port }} + scheme: HTTP + initialDelaySeconds: 30 + periodSeconds: 5 + successThreshold: 1 + failureThreshold: 3 + timeoutSeconds: 1 resources: {{ toYaml .Values.resources | indent 12 }} {{- if .Values.host.iptables }} diff --git a/stable/kube2iam/values.yaml b/stable/kube2iam/values.yaml index e989fa304a..e8707a98d1 100644 --- a/stable/kube2iam/values.yaml +++ b/stable/kube2iam/values.yaml @@ -8,6 +8,7 @@ host: ip: $(HOST_IP) iptables: false interface: docker0 + port: 8181 image: repository: jtblin/kube2iam