Skip to content

Commit

Permalink
feat(addons): update kiam to support hostnetwork
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiFleKs committed Feb 1, 2019
1 parent 470ece8 commit b08cdf3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions terraform/modules/eks-addons/kiam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,22 @@ agent:
ca: ${base64encode(join(",", tls_self_signed_cert.kiam_ca_crt.*.cert_pem))}
image:
tag: ${var.kiam["version"]}
nodeSelector:
node-role.kubernetes.io/node: ""
extraArgs:
whitelist-route-regexp: "/latest"
host:
interface: "eni+"
iptables: true
updateStrategy: "RollingUpdate"
extraHostPathMounts:
- name: ssl-certs
mountPath: /etc/ssl/certs
hostPath: /etc/pki/ca-trust/extracted/pem
readOnly: true
tolerations: ${var.kiam["server_use_host_network"] ? "[{'operator': 'Exists'}]" : "[]"}
server:
useHostNetwork: ${var.kiam["server_use_host_network"]}
probes:
serverAddress: "127.0.0.1"
tlsFiles:
Expand Down

0 comments on commit b08cdf3

Please sign in to comment.