Fix apiserver manifest for kube version < 1.9
parent
0f35e17e23
commit
3535c29e59
|
@ -119,6 +119,9 @@ spec:
|
||||||
- --enable-aggregator-routing={{ kube_api_aggregator_routing }}
|
- --enable-aggregator-routing={{ kube_api_aggregator_routing }}
|
||||||
- --proxy-client-cert-file={{ kube_cert_dir }}/front-proxy-client.pem
|
- --proxy-client-cert-file={{ kube_cert_dir }}/front-proxy-client.pem
|
||||||
- --proxy-client-key-file={{ kube_cert_dir }}/front-proxy-client-key.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 %}
|
{% endif %}
|
||||||
{% if apiserver_custom_flags is string %}
|
{% if apiserver_custom_flags is string %}
|
||||||
- {{ apiserver_custom_flags }}
|
- {{ apiserver_custom_flags }}
|
||||||
|
|
Loading…
Reference in New Issue