Browse Source

Fix apiserver manifest for kube version < 1.9

pull/2644/head
Christian Phu 6 years ago
committed by Christian PHU
parent
commit
3535c29e59
1 changed files with 3 additions and 0 deletions
  1. 3
      roles/kubernetes/master/templates/manifests/kube-apiserver.manifest.j2

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

@ -119,6 +119,9 @@ spec:
- --enable-aggregator-routing={{ kube_api_aggregator_routing }}
- --proxy-client-cert-file={{ kube_cert_dir }}/front-proxy-client.pem
- --proxy-client-key-file={{ kube_cert_dir }}/front-proxy-client-key.pem
{% else %}
- --proxy-client-cert-file={{ kube_cert_dir }}/apiserver.pem
- --proxy-client-key-file={{ kube_cert_dir }}/apiserver-key.pem
{% endif %}
{% if apiserver_custom_flags is string %}
- {{ apiserver_custom_flags }}

Loading…
Cancel
Save