Merge pull request #2994 from DBLaci/master
dashboard_token_ttl option override possibility with default
This commit is contained in:
commit
7850bce254
2 changed files with 4 additions and 0 deletions
|
@ -59,6 +59,9 @@ dashboard_certs_secret_name: kubernetes-dashboard-certs
|
||||||
dashboard_tls_key_file: dashboard.key
|
dashboard_tls_key_file: dashboard.key
|
||||||
dashboard_tls_cert_file: dashboard.crt
|
dashboard_tls_cert_file: dashboard.crt
|
||||||
|
|
||||||
|
# Override dashboard default settings
|
||||||
|
dashboard_token_ttl: 900
|
||||||
|
|
||||||
# SSL
|
# SSL
|
||||||
etcd_cert_dir: "/etc/ssl/etcd/ssl"
|
etcd_cert_dir: "/etc/ssl/etcd/ssl"
|
||||||
canal_cert_dir: "/etc/canal/certs"
|
canal_cert_dir: "/etc/canal/certs"
|
||||||
|
|
|
@ -166,6 +166,7 @@ spec:
|
||||||
# If not specified, Dashboard will attempt to auto discover the API server and connect
|
# If not specified, Dashboard will attempt to auto discover the API server and connect
|
||||||
# to it. Uncomment only if the default does not work.
|
# to it. Uncomment only if the default does not work.
|
||||||
# - --apiserver-host=http://my-address:port
|
# - --apiserver-host=http://my-address:port
|
||||||
|
- --token-ttl={{ dashboard_token_ttl }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: kubernetes-dashboard-certs
|
- name: kubernetes-dashboard-certs
|
||||||
mountPath: /certs
|
mountPath: /certs
|
||||||
|
|
Loading…
Reference in a new issue