feat: add option to disable kube-proxy
This commit is contained in:
parent
b4243e3de8
commit
49e1eeb2e1
@ -24,6 +24,7 @@ k3s_server_nodes:
|
||||
k3s_server_flannel_backend_enabled: True
|
||||
k3s_server_network_policy_enabled: True
|
||||
k3s_server_cloud_controller_enabled: True
|
||||
k3s_server_kube_proxy_enabled: True
|
||||
k3s_server_workload_enabled: True
|
||||
k3s_server_feature_gates: []
|
||||
|
||||
|
@ -39,11 +39,14 @@ kube-controller-manager-arg:
|
||||
flannel-backend: "none"
|
||||
{% endif %}
|
||||
{% if not k3s_server_cloud_controller_enabled | bool %}
|
||||
disable-cloud-controller: true
|
||||
disable-cloud-controller: True
|
||||
{% endif %}
|
||||
{% if not k3s_server_network_policy_enabled | bool %}
|
||||
disable-network-policy: True
|
||||
{% endif %}
|
||||
{% if not k3s_server_kube_proxy_enabled | bool %}
|
||||
disable-kube-proxy: True
|
||||
{% endif %}
|
||||
{% else %}
|
||||
server: "https://{{ __k3s_server_ip }}:6443"
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user