If persistHome is enabled, the token in .kube/config isn't renewed #22924
Labels
kind/bug
Outline of a bug - must adhere to the bug report template.
severity/P1
Has a major impact to usage or development of the system.
sprint/next
Describe the bug
Hello,
I have setup two kinds of env, one based on the udi and one that I build. With both image and the persistHome option enabled, I end up with a Kubeconfig with outdated token after 12 hours (the liveness setup in the IDP).
This bug has been found on Kubernetes (K3s,MicroK8s,kubeadm) and will be tested on OpenShift.
Fixed by deleting the /home/user/.kube folder and restarting the workspace
Che version
7.84@latest
Steps to reproduce
kubectl get pod
Expected behavior
Well, i expect my token to be renewed each time i start a WorkSpace
Runtime
Kubernetes (vanilla)
Screenshots
Installation method
chectl/latest, chectl/next
Environment
Windows, Linux
Eclipse Che Logs
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: