Title
#general
a

Alexandre Vinet

09/15/2022, 7:48 PM
Hi, I would like to know a bit more on the init container of your helm chart for self-hosting the pricing api. My understanding is that this init job is downloading the price and inject it in postgresql. Am I right?
Tim (Infracost)

Tim (Infracost)

09/15/2022, 8:18 PM
That’s correct, it corresponds to this command in the cloud_pricing_api which downloads the pricing data and loads it into postgres .
a

Alexandre Vinet

09/15/2022, 8:19 PM
Thank you. And regarding the weekly update, this container will be restarted/re-created?
Tim (Infracost)

Tim (Infracost)

09/15/2022, 8:26 PM
I believe the init container goes away and this CronJob does the weekly update. (@Alistair (Infracost) may correct me in the morning.)
a

Alexandre Vinet

09/15/2022, 8:40 PM
Seems to make sense to me, thanks a lot! Have a nice day.