fix on v1alpha1

This commit is contained in:
Samuele Chiocca 2018-08-24 11:19:06 +02:00
parent e5dd4e1e70
commit cb8be37f72

View file

@ -22,15 +22,15 @@ kubernetesVersion: {{ kube_version }}
{% if cloud_provider is defined and cloud_provider != "gce" %}
cloudProvider: {{ cloud_provider }}
{% endif %}
{% if kube_proxy_mode == 'ipvs' and kube_version | version_compare('v1.10', '<') %}
kubeProxy:
config:
{% if kube_proxy_mode == 'ipvs' and kube_version | version_compare('v1.10', '<') %}
featureGates: SupportIPVSProxyMode=true
mode: ipvs
{% endif %}
{% if kube_proxy_nodeport_addresses %}
nodePortAddresses: [{{ kube_proxy_nodeport_addresses_cidr }}]
{% endif %}
{% endif %}
authorizationModes:
{% for mode in authorization_modes %}
- {{ mode }}