Browse Source

Merge pull request #1887 from mattymo/fix_indent_apiserver

fix indentation for network policy option
pull/1906/head
Spencer Smith 7 years ago
committed by GitHub
parent
commit
4470ee4ccf
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. 4
      roles/kubernetes/master/templates/manifests/kube-apiserver.manifest.j2

4
roles/kubernetes/master/templates/manifests/kube-apiserver.manifest.j2

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

Loading…
Cancel
Save