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

kubernetes: CI fails due to deprecated methods #288

Open
lucor opened this issue Jan 12, 2025 · 0 comments
Open

kubernetes: CI fails due to deprecated methods #288

lucor opened this issue Jan 12, 2025 · 0 comments

Comments

@lucor
Copy link
Member

lucor commented Jan 12, 2025

Describe the bug:

After upgrading Kubernetes dependencies to version 2.6.x using Dependabot, the CI began failing due to the use of the following deprecated methods:

Error: internal/cloud/kubernetes.go:158:8: wait.PollImmediate is deprecated: This method does not return errors from context, use PollUntilContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release.  (SA1019)
Error: internal/cloud/kubernetes.go:221:8: exec.Stream is deprecated: use StreamWithContext instead to avoid possible resource leaks. See https://github.com/kubernetes/kubernetes/pull/103177 for details.  (SA1019)

They can be safely ignored, but it would be great to have them fixed.

@lucor lucor mentioned this issue Jan 12, 2025
3 tasks
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