SourceSecurityGroupIDs doesn't work in unmanaged node group, but this is not mentioned in the config schema. #2366
Labels
area/general-cli
kind/docs
User documentation
kind/feature
New feature or request
priority/backlog
Not staffed at the moment. Help wanted.
In the config file schema(https://eksctl.io/usage/schema/) I found the SourceSecurityGroupIDs cloud be used for both managed node group and unmanaged nodegroup.
However, when I tried to create unmanaged nodegroup with SourceSecurityGroupIDs, I run in to the error:
"Error: nodeGroups[0].sourceSecurityGroupIds is not supported for unmanaged nodegroups"
For double confirm, I generated the schema using command: "eksctl utils schema" and found the SourceSecurityGroupIDs cloud be used for both managed node group and unmanaged nodegroup as well.
I did some research and found the validation in this file(https://github.com/weaveworks/eksctl/blob/a7fc5f6e8adc9e5581d7d8d128c7ed806675bb0f/pkg/apis/eksctl.io/v1alpha5/validation.go):
So I think the config schema should be wrong, the sourceSecurityGroupIds should be marked, it is not supported for unmanaged nodegroups.
The text was updated successfully, but these errors were encountered: