diff --git a/roles/kubernetes/master/templates/manifests/kube-apiserver.manifest.j2 b/roles/kubernetes/master/templates/manifests/kube-apiserver.manifest.j2 index b589a9176..e3efa73df 100644 --- a/roles/kubernetes/master/templates/manifests/kube-apiserver.manifest.j2 +++ b/roles/kubernetes/master/templates/manifests/kube-apiserver.manifest.j2 @@ -125,6 +125,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 }}