Skip to content

Commit

Permalink
keep compatibility as it was before (#4268)
Browse files Browse the repository at this point in the history
  • Loading branch information
LuckySB authored and k8s-ci-robot committed Apr 3, 2019
1 parent 1e524c6 commit 55890e1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion roles/kubernetes/master/defaults/main/kube-proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,12 @@ kube_proxy_metrics_bind_address: 127.0.0.1:10249
# A string slice of values which specify the addresses to use for NodePorts.
# Values may be valid IP blocks (e.g. 1.2.3.0/24, 1.2.3.4/32).
# The default empty string slice ([]) means to use all local addresses.
kube_proxy_nodeport_addresses: '[]'
kube_proxy_nodeport_addresses: >-
{%- if kube_proxy_nodeport_addresses_cidr is defined -%}
[{{ kube_proxy_nodeport_addresses_cidr }}]
{%- else -%}
[]
{%- endif -%}
# oom-score-adj value for kube-proxy process. Values must be within the range [-1000, 1000]
kube_proxy_oom_score_adj: -999
Expand Down

0 comments on commit 55890e1

Please sign in to comment.