Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
[k8s-dashboard] change dashboard token ttl to 7d (#4293)
Browse files Browse the repository at this point in the history
  • Loading branch information
Binyang2014 authored Mar 18, 2020
1 parent 3388bb9 commit 338f5a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/k8s-dashboard/deploy/k8s-dashboard.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ spec:
- --port={{ cluster_cfg['k8s-dashboard']['dashboard-port'] }}
- --tls-cert-file=/tls.crt
- --tls-key-file=/tls.key
- --token-ttl=604800 # 7d
volumeMounts:
- name: kubernetes-dashboard-certs-openpai
mountPath: /certs
Expand Down

0 comments on commit 338f5a3

Please sign in to comment.