helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

[thanos] How to implement authentication

Open amrap030 opened this issue 1 year ago • 1 comments

Hello,

I would like to implement basic authentication for thanos. When I look at the docs, it seems that it is possible to create a configuration file and add it via the flag --http.config (https://thanos.io/tip/operating/https.md/), but I am not sure how to do this in the helm chart. Is this possible?

amrap030 avatar Jan 24 '24 13:01 amrap030

@amrap030 you can't currently do this as the Thanos components don't currently have extraVolumes & extraVolumeMounts values. I can add these inputs to the chart if you'd like, at which point you'd need to create the ConfigMap outside the chart and pass it into the relevant component via the extraVolumes & extraVolumeMounts values?

stevehipwell avatar Jan 25 '24 16:01 stevehipwell

Volume mounts would also be good for configuring caching with redis or memcache, thanks!

https://thanos.io/tip/components/store.md/#index-cache

onedr0p avatar Mar 22 '24 14:03 onedr0p

@onedr0p that's a good point, let me take a look at adding additional volume support.

stevehipwell avatar Mar 25 '24 12:03 stevehipwell