mirror of https://github.com/easzlab/kubeasz.git
fix x509: subject with cn=system:node: is not in the allowed list: [aggregator]
parent
e23975da0c
commit
4f82c79fa2
|
@ -35,7 +35,7 @@ ExecStart={{ bin_dir }}/kube-apiserver \
|
||||||
--audit-log-path=/var/lib/audit.log \
|
--audit-log-path=/var/lib/audit.log \
|
||||||
--event-ttl=1h \
|
--event-ttl=1h \
|
||||||
--requestheader-client-ca-file={{ ca_dir }}/ca.pem \
|
--requestheader-client-ca-file={{ ca_dir }}/ca.pem \
|
||||||
--requestheader-allowed-names=aggregator \
|
--requestheader-allowed-names='' \
|
||||||
--requestheader-extra-headers-prefix=X-Remote-Extra- \
|
--requestheader-extra-headers-prefix=X-Remote-Extra- \
|
||||||
--requestheader-group-headers=X-Remote-Group \
|
--requestheader-group-headers=X-Remote-Group \
|
||||||
--requestheader-username-headers=X-Remote-User \
|
--requestheader-username-headers=X-Remote-User \
|
||||||
|
|
|
@ -35,7 +35,7 @@ ExecStart={{ bin_dir }}/kube-apiserver \
|
||||||
--audit-log-path=/var/lib/audit.log \
|
--audit-log-path=/var/lib/audit.log \
|
||||||
--event-ttl=1h \
|
--event-ttl=1h \
|
||||||
--requestheader-client-ca-file={{ ca_dir }}/ca.pem \
|
--requestheader-client-ca-file={{ ca_dir }}/ca.pem \
|
||||||
--requestheader-allowed-names=aggregator \
|
--requestheader-allowed-names='' \
|
||||||
--requestheader-extra-headers-prefix=X-Remote-Extra- \
|
--requestheader-extra-headers-prefix=X-Remote-Extra- \
|
||||||
--requestheader-group-headers=X-Remote-Group \
|
--requestheader-group-headers=X-Remote-Group \
|
||||||
--requestheader-username-headers=X-Remote-User \
|
--requestheader-username-headers=X-Remote-User \
|
||||||
|
|
Loading…
Reference in New Issue