Skip to content
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

Fix deprecation warning about prune #12

Open
collimarco opened this issue Jul 23, 2023 · 2 comments
Open

Fix deprecation warning about prune #12

collimarco opened this issue Jul 23, 2023 · 2 comments

Comments

@collimarco
Copy link
Contributor

When you deploy on new versions you can see this deprecation:

W0723 20:57:03.499655    2113 prune.go:71] Deprecated: kubectl apply will no longer prune non-namespaced resources by default when used with the --namespace flag in a future release. To preserve the current behaviour, list the resources you want to target explicitly in the --prune-allowlist flag.

This is not an issue right now, but it should be fixed for the future.

@collimarco
Copy link
Contributor Author

Related:
kubernetes/kubernetes#110907

@collimarco
Copy link
Contributor Author

Based on this comment we can probably just ignore the warning (no code changes needed in this gem).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant