update defaults for aws-cni based on upstream template

This commit is contained in:
Moshe Shitrit 2022-11-08 11:21:24 -05:00
parent 968aefb0dd
commit b9e61d95d6
1 changed files with 3 additions and 0 deletions

View File

@ -195,6 +195,7 @@ func (tf *TemplateFunctions) AddTo(dest template.FuncMap, secretStore fi.SecretS
envVars := map[string]string{
// Use defaults from the official AWS VPC CNI Helm chart:
// https://github.com/aws/amazon-vpc-cni-k8s/blob/master/charts/aws-vpc-cni/values.yaml
"ADDITIONAL_ENI_TAGS": "{}",
"AWS_VPC_CNI_NODE_PORT_SUPPORT": "true",
"AWS_VPC_ENI_MTU": "9001",
"AWS_VPC_K8S_CNI_CONFIGURE_RPFILTER": "false",
@ -209,7 +210,9 @@ func (tf *TemplateFunctions) AddTo(dest template.FuncMap, secretStore fi.SecretS
"DISABLE_INTROSPECTION": "false",
"DISABLE_METRICS": "false",
"ENABLE_POD_ENI": "false",
"ENABLE_PREFIX_DELEGATION": "false",
"WARM_ENI_TARGET": "1",
"WARM_PREFIX_TARGET": "1",
"DISABLE_NETWORK_RESOURCE_PROVISIONING": "false",
}
for _, e := range c.Env {