feat: add option to disable kube-proxy
continuous-integration/drone/push Build is failing Details
continuous-integration/drone Build is passing Details

This commit is contained in:
Robert Kaussow 2023-04-09 12:51:30 +02:00
parent b4243e3de8
commit 49e1eeb2e1
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 5 additions and 1 deletions

View File

@ -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: []

View File

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