Skip to content

Commit

Permalink
No longer set default value for AWS_VPC_K8S_CNI_CONFIGURE_RPFILTER (#737
Browse files Browse the repository at this point in the history
)

Co-authored-by: Paul Stack <public@paulstack.co.uk>
  • Loading branch information
richerdavid and stack72 authored Jul 27, 2022
1 parent dcba1d3 commit 8ae0e00
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
## Unreleased
- Due to https://github.com/pulumi/pulumi/issues/7012 including the provider in the generated SDK never really worked. This is removed now. Note - existing uses in Nodejs should not be affected.
- BREAKING CHANGE: Due to https://github.com/pulumi/pulumi/issues/7012 including the provider in the generated SDK never really worked. This is removed now. Note - existing uses in Nodejs should not be affected.
[#746](https://github.com/pulumi/pulumi-eks/pull/746)
- Fix issue with duplicated AWS_VPC_K8S_CNI_CONFIGURE_RPFILTER env var on aws-node daemonset.
[#737](https://github.com/pulumi/pulumi-eks/pull/737)

## 0.41.2 (Released Jul 12, 2022)
- Allow removal of default Kubernetes addons
Expand Down
2 changes: 0 additions & 2 deletions nodejs/eks/cmd/provider/cni.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,6 @@ function computeVpcCniYaml(cniYamlText: string, args: VpcCniInputs): string {
}
if (args.cniConfigureRpfilter) {
env.push({ name: "AWS_VPC_K8S_CNI_CONFIGURE_RPFILTER", value: args.cniConfigureRpfilter ? "true" : "false" });
} else {
env.push({ name: "AWS_VPC_K8S_CNI_CONFIGURE_RPFILTER", value: "false" });
}
if (args.cniCustomNetworkCfg) {
env.push({ name: "AWS_VPC_K8S_CNI_CUSTOM_NETWORK_CFG", value: args.cniCustomNetworkCfg ? "true" : "false" });
Expand Down

0 comments on commit 8ae0e00

Please sign in to comment.