mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 19:58:07 +03:00
Add support for --enable-skip-login in Dashboard (#4265)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
eafab9636f
commit
323d788f48
@@ -53,3 +53,4 @@ dashboard_tls_cert_file: dashboard.crt
|
|||||||
|
|
||||||
# Override dashboard default settings
|
# Override dashboard default settings
|
||||||
dashboard_token_ttl: 900
|
dashboard_token_ttl: 900
|
||||||
|
dashboard_skip_login: false
|
||||||
|
|||||||
@@ -163,6 +163,9 @@ spec:
|
|||||||
- --tls-cert-file={{ dashboard_tls_cert_file }}
|
- --tls-cert-file={{ dashboard_tls_cert_file }}
|
||||||
{% else %}
|
{% else %}
|
||||||
- --auto-generate-certificates
|
- --auto-generate-certificates
|
||||||
|
{% endif %}
|
||||||
|
{% if dashboard_skip_login %}
|
||||||
|
- --enable-skip-login
|
||||||
{% endif %}
|
{% endif %}
|
||||||
- --authentication-mode=token{% if kube_basic_auth|default(false) %},basic{% endif %}
|
- --authentication-mode=token{% if kube_basic_auth|default(false) %},basic{% endif %}
|
||||||
# Uncomment the following line to manually specify Kubernetes API server Host
|
# Uncomment the following line to manually specify Kubernetes API server Host
|
||||||
|
|||||||
Reference in New Issue
Block a user