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
1 changed files with 3 additions and 0 deletions

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 %}