mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-13 21:34:40 +03:00
Move kube_feature_gates to kubelet config (#8048)
to remove deprecation warning: > Flag --feature-gates has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag.
This commit is contained in:
@@ -84,6 +84,12 @@ resolvConf: "{{ kube_resolv_conf }}"
|
||||
{% 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 kube_feature_gates %}
|
||||
featureGates:
|
||||
{% for feature in kube_feature_gates %}
|
||||
{{ feature|replace("=", ": ") }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if tls_min_version is defined %}
|
||||
tlsMinVersion: {{ tls_min_version }}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user