cloud-bulldozer / performance-dashboards

Performance dashboards from the Perf & Scale team
Apache License 2.0
16 stars 36 forks source link

increase token expire time #67

Closed qiliRedHat closed 1 year ago

qiliRedHat commented 1 year ago

Description

1 hour after deploying dittybopper, the dashboards can not be displayed because of 'Forbidden'. Checked the token created by deploy.sh, it was already expired. Redeploy can fix the issue but it will come back again 1 hour later.

Create a new token with oc create token, check the exp time, it's 1 hour after creation. iat: 1677053861 2/22/2023, 1:47:41 PM nbf: 1677053861 2/22/2023, 1:47:41 PM exp: 1677057461 2/22/2023, 2:47:41 PM

Fixes

Increase token expire time to 240h to avoid token expire during test.

qiliRedHat commented 1 year ago

I found https://github.com/cloud-bulldozer/performance-dashboards/pull/62 intended to remove the --duration.