-
Notifications
You must be signed in to change notification settings - Fork 97
feat(eksapi): accept and configure nodeadm feature gates #641
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
ndbaker1
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sgtm, just want a small change
| stackName := m.getUnmanagedNodegroupStackName() | ||
| klog.Infof("creating unmanaged nodegroup stack %s...", stackName) | ||
| userData, userDataIsMimePart, err := generateUserData(opts.UserDataFormat, cluster, opts) | ||
| userData, userDataIsMimePart, err := generateUserData(cluster, opts) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
passing opts.UserDataFormat was redundant, opts is already passed
ndbaker1
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
| return buf.String(), userDataIsMimePart, nil | ||
| } | ||
|
|
||
| func extractFeatureGates(featureGatePairs []string) (map[string]bool, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Assuming the CLI framework doesn't support a map[string]string/map[string]bool, this looks fine
Issue #, if available:
Description of changes:
Enables a pass-through flag for nodeadm feature gates
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.