Skip to content

Commit

Permalink
Set feature gates in kube-proxy ConfigMap (kubernetes-sigs#6851)
Browse files Browse the repository at this point in the history
Command line flags aren't added to kube-proxy which results in missing
feature gates set in this component. Add appropriate setting to
ConfigMap instead.

Signed-off-by: Maciej Wereski <[email protected]>
  • Loading branch information
maciejaszek authored and LuckySB committed Jan 16, 2021
1 parent 1c252c9 commit ff481bd
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,12 @@ nodePortAddresses: {{ kube_proxy_nodeport_addresses }}
oomScoreAdj: {{ kube_proxy_oom_score_adj }}
portRange: {{ kube_proxy_port_range }}
udpIdleTimeout: {{ kube_proxy_udp_idle_timeout }}
{% if kube_feature_gates %}
featureGates:
{% for feature in kube_feature_gates %}
{{ feature|replace("=", ": ") }}
{% endfor %}
{% endif %}
{# DNS settings for kubelet #}
{% if enable_nodelocaldns %}
{% set kubelet_cluster_dns = [nodelocaldns_ip] %}
Expand Down

0 comments on commit ff481bd

Please sign in to comment.