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

k8s 1.22 - bearer tokens from mounts needs to be refreshed #323

Closed
kjetijor opened this issue Jan 31, 2022 · 8 comments
Closed

k8s 1.22 - bearer tokens from mounts needs to be refreshed #323

kjetijor opened this issue Jan 31, 2022 · 8 comments

Comments

@kjetijor
Copy link

k8s 1.22 starts enforcing lifetime for the bearer tokens mounted in to the pod, this means they'll go stale after an hour, and we'll start getting rejected by the k8s api servers.

See: ManageIQ/kubeclient#530

@jcantrill
Copy link
Contributor

Resolving as I believe the change merged here #330 addresses the issue and is released https://rubygems.org/gems/fluent-plugin-kubernetes_metadata_filter/versions/2.10.0

Please reopen if you determine otherwise

@cben
Copy link

cben commented Apr 19, 2022

As I wrote on #328, this was not addressed.

@HarleyB123
Copy link

Any updates on when this will be fixed?

@jcantrill
Copy link
Contributor

@cben Based upon your original response in #328, I agree we should continue to pursue your proposed changes. Please review my code comments.

@prashil-g
Copy link

prashil-g commented Jun 7, 2022

Any update on this?
I see fluentbit : fluent/fluent-bit#5445 fix shipped with 1.9.4.

@jcantrill
Copy link
Contributor

Any update on this?
I see fluentbit : fluent/fluent-bit#5445 fix shipped with 1.9.4.

This is a plugin for fluentd which is completely unrelated to to fluentbit

@PettitWesley
Copy link
Contributor

Here is another way of doing it, reactively refresh the token when you get an Unauthorized error: #337

@jcantrill
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment