Skip to content
Snippets Groups Projects
Commit b0f04d92 authored by Matthew Mosesohn's avatar Matthew Mosesohn Committed by GitHub
Browse files

Update network policy setting for Kubernetes 1.8 (#1879)

It is now enabled by default in 1.8 with the api changed
to networking.k8s.io/v1 instead of extensions/v1beta1.
parent 7b78e687
No related branches found
No related tags found
No related merge requests found
......@@ -78,7 +78,9 @@ spec:
{% endfor %}
{% endif %}
{% if enable_network_policy %}
{% if kube_version | version_compare('v1.8', '<') %}
- --runtime-config=extensions/v1beta1/networkpolicies=true
{% endif %}
{% endif %}
- --v={{ kube_log_level }}
- --allow-privileged=true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment