Commit 2f8687e
authored
Make advertising proxy port (port 80) optional (#107)
eks-pod-identity-agent only bind on 169.254.170.23 and fd00:ec2::23 for port 80.
By configuring the portmap cni plugin to exclude those 2 addresses
```
{
"type": "portmap",
"capabilities": {"portMappings": true},
"snat": true,
"conditionsV4": ['!', '-d', '169.254.170.23'],
"conditionsV6": ['!', '-d', 'fd00:ec2::23']
}
```
we can have a pod using `hostPort: 80` (let's say ingress-nginx) and
eks-pod-identity-agent running on the same node, we just need `advertiseProxyPort: false`.1 parent 630ebfa commit 2f8687e
File tree
2 files changed
+3
-0
lines changed- charts/eks-pod-identity-agent
- templates
2 files changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
94 | 95 | | |
95 | 96 | | |
96 | 97 | | |
| 98 | + | |
97 | 99 | | |
98 | 100 | | |
99 | 101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| 108 | + | |
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
| |||
0 commit comments