Slackbot
07/04/2023, 12:00 PMOr Weis
07/04/2023, 12:52 PMOPAL_POLICY_STORE_CONN_RETRY
(retries around talking to OPA) and maybe OPAL_POLICY_UPDATER_CONN_RETRY
(retries around fetching/processing the data) - shape of config object here
Additionally you can look into breaking the update into multiple entries, gradually building up the object in OPA.
----
Other notes:
which we know will take a long time to respond (upwards of 30s)That’s pretty extreme response times - perhaps you can add another caching layer in between ? --- Hope this helps 🙂 Keep us posted on your progress
Charlotte Brady
07/04/2023, 2:09 PMCharlotte Brady
07/04/2023, 3:57 PMOPAL_FETCHING_CALLBACK_TIMEOUT
(see here) - this has a default of 10s - meaning we make a call to our custom endpoint, wait 10s, then except a timeout error. Updating this to suit our custom endpoint worked, we now have happy healthy containers! 🙌 Thanks for you help & FYI we agree on the caching logic - this is a prototype for now which we will refactor in the longer term.Doug Ramirez
07/11/2023, 6:00 PM