-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
WIP: add --config-file and --validate to get cluster command #3352
WIP: add --config-file and --validate to get cluster command #3352
Conversation
👋🏽 @Callisto13 can you please review and see if this is what's expected? |
Hey @neha-viswanathan 👋 , thanks for handling this 🎉 . This doesn't seem to be working for me and I am seeing all the clusters. On top of the flag being added the config needs to be processed. You can check out other commands which have config loaders (loading code lives in A config file for ie, when I do: eksctl get cluster -f config.yaml The config file should be processed and I see: 2021-02-25 10:31:45 [ℹ] eksctl version 0.40.0-dev+da899ad2.2021-02-25T10:29:56Z
2021-02-25 10:31:45 [ℹ] using region us-west-2
NAME VERSION STATUS CREATED VPC SUBNETS SECURITYGROUPS
cb-test2 1.18 ACTIVE 2021-01-29T12:13:54Z vpc-foo subnet-1,subnet-2,subnet-3,subnet-4,subnet-5,subnet-6 sg-1 When I don't provide a config file or For completeness, if I do the following: eksctl get cluster -f config.yaml -A The config file should be ignored and all clusters across all regions returned. (You could even have it so that those flags cannot be used together.) |
Also (just remembered) the behaviour for |
758a92a
to
c83837d
Compare
Hey @neha-viswanathan! Just checking in on the status of this, do you plan to finish or would you like it taken over? Thanks! |
Hi @Callisto13 I will try to get this done in the next few days. Thanks! |
Are you still planning on finishing this PR? If not, please ping me so I can wrap it up. :) Cheers! |
Hello @Skarlso, please feel free to pick it up. Thanks! |
Thank you @neha-viswanathan! |
Related to #1126
Description
This MR adds
--config-file
and--validate
flags toget cluster
commandChecklist
README.md
, or theuserdocs
directory)area/nodegroup
) and kind (e.g.kind/improvement
)BONUS POINTS checklist: complete for good vibes and maybe prizes?! 🤯