add support for advertise ip, this was needed to advertise using the internal-ip's of my nodes

This commit is contained in:
Martin Friedrich 2020-10-26 10:38:21 +01:00
parent a8dd9acdb9
commit 04375f5e39
No known key found for this signature in database
GPG key ID: D89433619ABD34AB

View file

@ -19,6 +19,9 @@ ExecStart={{ k3s_install_dir }}/k3s
{% if k3s_bind_address is defined %}
--bind-address {{ k3s_bind_address }}
{% endif %}
{% if k3s_advertise_address is defined %}
--advertise-address {{ k3s_advertise_address }}
{% endif %}
{% if k3s_non_root is defined and k3s_non_root %}
--rootless
{% endif %}