Skip to content

How to set INSTALL_K3S_EXEC? #5048

Answered by FlappiTomic
FlappiTomic asked this question in Q&A
Discussion options

You must be logged in to vote

After spending a whole day looking for answers, this is the correct syntax that works:

env:
  K3S_EXEC: --tls-san x.x.x.x

I suggest making some document changes indicating above is the correct way to add k3s customization in the provisioning script. Current document is not helpful at all at https://docs.rancherdesktop.io/how-to-guides/provisioning-scripts which is not indicating k3s customization although a line says scripts can be used to provide certain command line parameters to K3s.

Also I suggest to align with official k3s environment variable, see https://docs.k3s.io/installation/configuration, they all use INSTALL_K3S_EXEC , it is rather confusing for rancher desktop to use K3S_EXEC.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by FlappiTomic
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants