Closed whiskeysierra closed 1 year ago
Could you maybe share (anonymized) config map, sidecar config and enabled debug logs?
Nevermind, we temporary used this sidecar because the one grafana uses didn't work. Now we updated grafana to the latest version and forgot to switch back. I'm pretty sure we configured this sidecar incorrectly (based on the docs of the other one), hence it didn't work as intended.
Maybe I confused the two, I just learned from my colleague... 🤦♂️
Yeah, sorry about the confusion:
We're in the process of updating. Let me get back to you if this issue persists. Again, sorry for the noise.
So for now the issue can be closed...?
We've been experiencing this issue with Grafana which uses the k8s-sidecar:1.22.2:
I traced it back to this chunk of code:
https://github.com/kiwigrid/k8s-sidecar/blob/af576118a23292302d727948ba4e546e9b92adad/src/resources.py#L99-L130
The scond loop uses a local variable
dest_folder
which is only set in the first loop. I guess there is some kind of situation where the first loop isn't being executed at all but the second one is.