Open miadabrin opened 2 weeks ago
Thanks for reporting this issue. We're looking into migrating the way we handle management of the VPC CNI addon (tracked by https://github.com/pulumi/pulumi-eks/issues/1132). This should also resolve the issues faced here.
What happened?
When creating a cluster with public endpoint disabled and using the
proxy
variable (andHTTP_PROXY
environment variable) to use a private proxy to access cluster, thekubectl apply -f
command for creating the vpc cni fails. Here is the error message:After reading the code, the issue seems to be because https://github.com/pulumi/pulumi-eks/blob/92465dce68dd560ae48fd0211cae9a74b4ee19e4/nodejs/eks/cmd/provider/cni.ts#L301 https://github.com/pulumi/pulumi-eks/blob/92465dce68dd560ae48fd0211cae9a74b4ee19e4/nodejs/eks/cmd/provider/cni.ts#L269 does not pass the correct environment variables (or the ability to do customizations/overrides on kube config)
Example
Output of
pulumi about
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).