Remove kubelet_node_{custom_flags,config_extra_args}

There is no need to have an extra variables for this, just use different
values per host (using Ansible group_vars, for example)
This commit is contained in:
Max Gautier
2023-11-23 21:13:55 +01:00
parent 1bc61c9f35
commit fe60832a02
4 changed files with 3 additions and 16 deletions

View File

@@ -77,9 +77,6 @@ resolvConf: "{{ kube_resolv_conf }}"
{% if kubelet_config_extra_args %}
{{ kubelet_config_extra_args | to_nice_yaml(indent=2) }}
{% endif %}
{% if inventory_hostname in groups['kube_node'] and kubelet_node_config_extra_args %}
{{ kubelet_node_config_extra_args | to_nice_yaml(indent=2) }}
{% endif %}
{% if kubelet_feature_gates or kube_feature_gates %}
featureGates:
{% for feature in (kubelet_feature_gates | default(kube_feature_gates, true)) %}