Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
323d788f
Commit
323d788f
authored
6 years ago
by
Maxime Guyot
Committed by
Kubernetes Prow Robot
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add support for --enable-skip-login in Dashboard (#4265)
parent
eafab963
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/kubernetes-apps/ansible/defaults/main.yml
+1
-0
1 addition, 0 deletions
roles/kubernetes-apps/ansible/defaults/main.yml
roles/kubernetes-apps/ansible/templates/dashboard.yml.j2
+3
-0
3 additions, 0 deletions
roles/kubernetes-apps/ansible/templates/dashboard.yml.j2
with
4 additions
and
0 deletions
roles/kubernetes-apps/ansible/defaults/main.yml
+
1
−
0
View file @
323d788f
...
...
@@ -53,3 +53,4 @@ dashboard_tls_cert_file: dashboard.crt
# Override dashboard default settings
dashboard_token_ttl
:
900
dashboard_skip_login
:
false
This diff is collapsed.
Click to expand it.
roles/kubernetes-apps/ansible/templates/dashboard.yml.j2
+
3
−
0
View file @
323d788f
...
...
@@ -163,6 +163,9 @@ spec:
- --tls-cert-file={{ dashboard_tls_cert_file }}
{% else %}
- --auto-generate-certificates
{% endif %}
{% if dashboard_skip_login %}
- --enable-skip-login
{% endif %}
- --authentication-mode=token{% if kube_basic_auth|default(false) %},basic{% endif %}
# Uncomment the following line to manually specify Kubernetes API server Host
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment