diff --git a/roles/kubernetes/master/templates/manifests/kube-apiserver.manifest.j2 b/roles/kubernetes/master/templates/manifests/kube-apiserver.manifest.j2 index 687ca415d..560103fef 100644 --- a/roles/kubernetes/master/templates/manifests/kube-apiserver.manifest.j2 +++ b/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 }}