[kube2iam] Add node flag to limit relevant pods (#5652)

* [kube2iam] Add node flag to limit relevant pods

* Update Chart.yaml
This commit is contained in:
Daren Desjardins
2018-05-24 12:53:43 -07:00
committed by k8s-ci-robot
parent 8da0593a74
commit ad42ae920f
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: kube2iam
version: 0.8.7
version: 0.9.0
appVersion: 0.10.0
description: Provide IAM credentials to pods based on annotations.
keywords:
+5
View File
@@ -27,6 +27,7 @@ spec:
imagePullPolicy: "{{ .Values.image.pullPolicy }}"
args:
- --host-interface={{ .Values.host.interface }}
- --node=$(NODE_NAME)
{{- if .Values.host.iptables }}
- --host-ip={{ .Values.host.ip }}
{{- end }}
@@ -47,6 +48,10 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
{{- if and .Values.aws.secret_key .Values.aws.access_key }}
- name: AWS_ACCESS_KEY_ID
valueFrom: