Skip to content
Discussion options

You must be logged in to vote

Nice, you're basically there. Notice the error changed from connect: permission denied to bind: permission denied — that's actually the plugin now failing to create the socket rather than the apiserver failing to open it. Makes sense: the kubelet creates that hostPath dir as root (0755), so once you drop the plugin to 65534 it can't write into /var/run/infisical anymore.

Matching the UID to the apiserver is still the right call though — it quietly fixes the connect side too, since a socket created by 65534 is owned by 65534, and the apiserver (also 65534) can always connect to a socket it owns no matter what mode it ends up with. So you don't actually need that 0660/0666 flag you were abo…

Replies: 4 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@ArteChp
Comment options

Comment options

You must be logged in to vote
3 replies
@ArteChp
Comment options

@rakeshutekar
Comment options

Answer selected by ArteChp
@ArteChp
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@smira
Comment options

@ArteChp
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants