Fix apiserver manifest template

There was an extra indention on the `--v` flag
when enable_netword_policy is set and version < v1.8
This commit is contained in:
Hassan Zamani 2017-10-29 09:09:08 +03:30
parent f0317ae70b
commit 682909e895

View file

@ -77,10 +77,8 @@ spec:
- --runtime-config={{ conf }}
{% endfor %}
{% endif %}
{% if enable_network_policy %}
{% if kube_version | version_compare('v1.8', '<') %}
{% if enable_network_policy and kube_version | version_compare('v1.8', '<') }
- --runtime-config=extensions/v1beta1/networkpolicies=true
{% endif %}
{% endif %}
- --v={{ kube_log_level }}
- --allow-privileged=true