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

Ability to specify a directory for stealing Service Account Token #62

Open
r0binak opened this issue Sep 13, 2024 · 1 comment
Open

Comments

@r0binak
Copy link

r0binak commented Sep 13, 2024

When you run Pod with a fully mounted host filesystem via hostPath there is no way to specify a path to /var/lib/kubelet, even though it may be in the path /host/var/kubelet. This will be useful when it is possible to use hostPath but there is no way to automate the use of Service account token from other Pods found on the Node.

@r0binak
Copy link
Author

r0binak commented Sep 13, 2024

I think that somewhere in this place you need to allow the user to set a custom directory. Leave /var/lib/kubelet/pods/ by default.

// Exit if /var/lib/kubelet/pods does not exist

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