Created
December 28, 2018 14:01
-
-
Save karthikeayan/b268523754ba0f14148f025911c64bdc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: extensions/v1beta1 | |
kind: DaemonSet | |
metadata: | |
name: kube2iam | |
labels: | |
app: kube2iam | |
namespace: kube-system | |
spec: | |
updateStrategy: | |
type: RollingUpdate | |
template: | |
metadata: | |
labels: | |
name: kube2iam | |
spec: | |
hostNetwork: true | |
serviceAccount: kube2iam | |
containers: | |
- image: jtblin/kube2iam:latest | |
name: kube2iam | |
args: | |
- "--auto-discover-base-arn" | |
- "--iptables=true" | |
- "--host-ip=$(HOST_IP)" | |
- "--host-interface=eni+" | |
- "--verbose" | |
- "--debug" | |
env: | |
- name: HOST_IP | |
valueFrom: | |
fieldRef: | |
fieldPath: status.podIP | |
ports: | |
- containerPort: 8181 | |
hostPort: 8181 | |
name: http | |
securityContext: | |
privileged: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment