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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
cb91003c
Commit
cb91003c
authored
6 years ago
by
DBLaci
Browse files
Options
Downloads
Patches
Plain Diff
dashboard_token_ttl option override possibility with default
parent
97e0de7e
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
+3
-0
3 additions, 0 deletions
roles/kubernetes-apps/ansible/defaults/main.yml
roles/kubernetes-apps/ansible/templates/dashboard.yml.j2
+1
-0
1 addition, 0 deletions
roles/kubernetes-apps/ansible/templates/dashboard.yml.j2
with
4 additions
and
0 deletions
roles/kubernetes-apps/ansible/defaults/main.yml
+
3
−
0
View file @
cb91003c
...
...
@@ -59,6 +59,9 @@ dashboard_certs_secret_name: kubernetes-dashboard-certs
dashboard_tls_key_file
:
dashboard.key
dashboard_tls_cert_file
:
dashboard.crt
# Override dashboard default settings
dashboard_token_ttl
:
"
15
minutes"
# SSL
etcd_cert_dir
:
"
/etc/ssl/etcd/ssl"
canal_cert_dir
:
"
/etc/canal/certs"
...
...
This diff is collapsed.
Click to expand it.
roles/kubernetes-apps/ansible/templates/dashboard.yml.j2
+
1
−
0
View file @
cb91003c
...
...
@@ -166,6 +166,7 @@ spec:
# If not specified, Dashboard will attempt to auto discover the API server and connect
# to it. Uncomment only if the default does not work.
# - --apiserver-host=http://my-address:port
- --token-ttl={{ dashboard_token_ttl }}
volumeMounts:
- name: kubernetes-dashboard-certs
mountPath: /certs
...
...
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