Switch to use upstream kube_feature_gates logic
This commit is contained in:
parent
4cc065e66d
commit
3cf5981146
1 changed files with 6 additions and 12 deletions
|
@ -92,8 +92,8 @@ networking:
|
|||
podSubnet: "{{ kube_pods_subnet }}{{ ',' + kube_pods_subnet_ipv6 if enable_dual_stack_networks }}"
|
||||
{% if kube_feature_gates %}
|
||||
featureGates:
|
||||
{% for kube_feature_gate in kube_feature_gates %}
|
||||
{{ kube_feature_gate.split("=")[0] }}: {{ kube_feature_gate.split("=")[1] }}
|
||||
{% for feature in kube_feature_gates %}
|
||||
{{ feature|replace("=", ": ") }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
kubernetesVersion: {{ kube_version }}
|
||||
|
@ -371,12 +371,6 @@ conntrack:
|
|||
tcpCloseWaitTimeout: {{ kube_proxy_conntrack_tcp_close_wait_timeout }}
|
||||
tcpEstablishedTimeout: {{ kube_proxy_conntrack_tcp_established_timeout }}
|
||||
enableProfiling: {{ kube_proxy_enable_profiling }}
|
||||
{% if kube_feature_gates %}
|
||||
featureGates:
|
||||
{% for kube_feature_gate in kube_feature_gates %}
|
||||
{{ kube_feature_gate.split("=")[0] }}: {{ kube_feature_gate.split("=")[1] }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
healthzBindAddress: {{ kube_proxy_healthz_bind_address }}
|
||||
hostnameOverride: {{ kube_override_hostname }}
|
||||
iptables:
|
||||
|
@ -426,7 +420,7 @@ clusterDNS:
|
|||
{% endfor %}
|
||||
{% if kube_feature_gates %}
|
||||
featureGates:
|
||||
{% for kube_feature_gate in kube_feature_gates %}
|
||||
{{ kube_feature_gate.split("=")[0] }}: {{ kube_feature_gate.split("=")[1] }}
|
||||
{% for feature in kube_feature_gates %}
|
||||
{{ feature|replace("=", ": ") }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue