Merge pull request #2994 from DBLaci/master
dashboard_token_ttl option override possibility with defaultpull/2893/merge
commit
7850bce254
|
@ -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 New Issue