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:
parent
f0317ae70b
commit
682909e895
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue