kiwigrid / helm-charts

Helm charts for Kubernetes curated by Kiwigrid
https://kiwigrid.github.io
MIT License
186 stars 209 forks source link

[prometheus-thanos] Support of existingClaim #306

Closed sshishov closed 4 years ago

sshishov commented 4 years ago

Added logic for existingClaim for compact, ruler and storeGateway

Signed-off-by: Sergei Shishov sshishov.sshishov@gmail.com

What this PR does / why we need it:

Adds support of existingClaim for all components which are using persistent storage.

Which issue this PR fixes

(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

Special notes for your reviewer:

For being even more clear and avoid usage of a lot of IFs, we can create pvc.yaml for every component and add the logic of creation PVC there instead of relying on a template. Like it is done in prometheus repo here

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]