influxdata-operator
influxdata-operator copied to clipboard
[WIP] Delete backup folder content to avoid PV overflow
I would like to reclaim space on PV after backing up to GCS bucket. Tried code below, but ended up with error 126 when issuing rm command. Is there a way to delete contents of backup folder after backing up? Or do I need to set some permissions to allow that code to run well?