-
Notifications
You must be signed in to change notification settings - Fork 110
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
Show k8s API Deprecation Warnings #257
Comments
i would change the flag to also we should only show same warning once to the user. |
We will add the flag and show warnings (true) by default. |
Would it make sense to change the flag then? To something like |
I agree, this is also in line with Go's default value for bool.
Or, we can show a message to users along with the warnings, that they can silence them by using this flag. |
Describe the problem/challenge you have
With the addition of #245, kapp by default will not show API deprecation notices as shown in this commit: 4f554b0
Users may want to see these deprecation notices as part of using kapp, so it might be helpful to provide an option to show deprecation notices in output. This will help users catch deprecation notices in advance sooner as described here.
Describe the solution you'd like
My initial thought is to provide a command line option (e.g.
--show-deprecation-warnings
) with kapp deploy/delete commands that will show warnings like below:So the final command might look like:
kapp deploy -a app -f app.yml --show-deprecation-warnings
It might also be nice to format the deprecation notices in a way that fits kapp's current UX.
Anything else you would like to add:
Information on client handling: https://kubernetes.io/blog/2020/09/03/warnings/#customize-client-handling
Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.
The text was updated successfully, but these errors were encountered: