From e695c7cbb17909b46bb60eca4499e44f8ecef134 Mon Sep 17 00:00:00 2001 From: gjmzj Date: Thu, 5 Jul 2018 15:46:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20metrics-server=E5=85=81=E8=AE=B8?= =?UTF-8?q?=E7=9A=84client=20cert=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- roles/kube-master/templates/kube-apiserver-v1.8.service.j2 | 2 +- roles/kube-master/templates/kube-apiserver.service.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/kube-master/templates/kube-apiserver-v1.8.service.j2 b/roles/kube-master/templates/kube-apiserver-v1.8.service.j2 index d4364e8..cf34650 100644 --- a/roles/kube-master/templates/kube-apiserver-v1.8.service.j2 +++ b/roles/kube-master/templates/kube-apiserver-v1.8.service.j2 @@ -35,7 +35,7 @@ ExecStart={{ bin_dir }}/kube-apiserver \ --audit-log-path=/var/lib/audit.log \ --event-ttl=1h \ --requestheader-client-ca-file={{ ca_dir }}/ca.pem \ - --requestheader-allowed-names='' \ + --requestheader-allowed-names= \ --requestheader-extra-headers-prefix=X-Remote-Extra- \ --requestheader-group-headers=X-Remote-Group \ --requestheader-username-headers=X-Remote-User \ diff --git a/roles/kube-master/templates/kube-apiserver.service.j2 b/roles/kube-master/templates/kube-apiserver.service.j2 index d0fd906..51d84a5 100644 --- a/roles/kube-master/templates/kube-apiserver.service.j2 +++ b/roles/kube-master/templates/kube-apiserver.service.j2 @@ -35,7 +35,7 @@ ExecStart={{ bin_dir }}/kube-apiserver \ --audit-log-path=/var/lib/audit.log \ --event-ttl=1h \ --requestheader-client-ca-file={{ ca_dir }}/ca.pem \ - --requestheader-allowed-names='' \ + --requestheader-allowed-names= \ --requestheader-extra-headers-prefix=X-Remote-Extra- \ --requestheader-group-headers=X-Remote-Group \ --requestheader-username-headers=X-Remote-User \