-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
kops get --full should not be used for kops create #2290
Comments
Low hanging fruit is put in nasty warning message
|
Some folks are even more sneaky and grab the config directly from the state bucket and feed that back into kops. How about a validate mode, which can be fed a set of config and emit some warnings / errors. That can be worked into our CI/CD system. I want a stage in there anyway which does some validity checks to make sure noone is trying to delete the master instance group or other mistakes. |
@goraxe grabbing it out of the STATE_STORE can cause all kinds of problems :( A linter built into kops would be awesome. We have issues around helm functionality as well. Contributions are always appreciated! |
@chrislovecnm gotta love users right? I was kinda aware I was violating a backend. It was a result of some fairly nasty shell script and makesfiles being wrapped around kops and needing to come up with a process for managing changes to clusters a little better. I'm more of a fan of revisioned config then revisioned nested scripts wiring through env variables. Especially when needing to review said changes. The lower the cognitive friction the better. Now I'm aware there could be issues I will slim things down to the minimum set we require. I will see what I can do on the contributions front, my current manager seems pretty keen for some of the things we are building to be opened up. I also try to participate in opensource communities which I'm working with, just need signoffs from certain folks etc. May also come from a different identity more associated with $work ... depends a little on legal, policy, etc. |
@goraxe we always appreciate the help! FYI - we have developer office hours ever other Friday. See the Readme for the details. I think multiple issues are causing this problem
I did it, number 4, and I really should know better.... I write this code.. How do you think we can make kops more awesome? |
Automatic merge from submit-queue adding warning about --full This starts work on #2290. Adds a warning to deter users from using YAML generated by --full.
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
We have a warning now /close |
As discussed on slack:
I'm wondering if other people may have also fallen into this trap. I can see two ways around it:
kops get -oyaml
. I want this anyway 🙂kops get --full
so that it cannot be directly used inkops create -f
. We would log an explanation, and if you really want to do it, you could just remove the annotation.The text was updated successfully, but these errors were encountered: