strangelove-ventures / cosmos-operator

Cosmos Operator is a kubernetes operator for managing cosmos nodes
Apache License 2.0
77 stars 18 forks source link

tmp dir is not being deleted if it exists #329

Closed agouin closed 1 year ago

agouin commented 1 year ago

In the first init container chain-init, this is a common error if the pod didn't have a clean shutdown.

Error: genesis.json file already exists: /home/operator/.tmp/config/genesis.json

Maybe something like removing /home/operator/.tmp before doing the tmp init would resolve this.