-
Notifications
You must be signed in to change notification settings - Fork 226
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
kpt live apply should install resource group #2092
Comments
There is a flag ( |
I still don't think we should install anything in the cluster when users provide the |
Previously, preview was a prominent part of the user flow. Because of the limitation in how dry-run works, we made it a flag. This is a trade-off, and we should favor streamlining the UX for apply. Related: The Quickstart guide actually glosses over this implication: https://kpt.dev/book/01-getting-started/02-quickstart?id=apply-the-package. Having to run One possible way to ask permission for installing the CRD for dry-run:
However, having default values of flags change is somewhat convoluted. |
I agree with @mortent: we should not be mutating during a |
What's the interaction of |
For scriptability, we have the command |
So we have had discussions around this. I think we all agree that mutating the cluster by default during dry-run would be surprising behavior, but we also want to reduce the friction for people adopting kpt. I think the compromise here is that we let the The result will be:
The only change required here is to have the |
/assign @mortent |
In kpt 1.0, installing resource group can be a pre step for live commands. Users should not be prompted to install resource group explicitly.
The text was updated successfully, but these errors were encountered: