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.
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 PMFixes
Increase token expire time to 240h to avoid token expire during test.