add disable-kube-proxy to systemd servie

This commit is contained in:
ᗪєνιη ᗷυнʟ 2020-09-24 08:36:48 -04:00 committed by GitHub
parent 4b4a49bdd5
commit 564d693e9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -34,6 +34,9 @@ ExecStart={{ k3s_install_dir }}/k3s
{% if k3s_disable_network_policy %}
--disable-network-policy
{% endif %}
{% if k3s_disable_kube_proxy %}
--disable-kube-proxy
{% endif %}
{% if k3s_no_flannel %}
{% if (k3s_release_version | replace('v', '')) is version_compare('1.0.0', '>=') %}
--flannel-backend none