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)
fixes #
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.]
Added logic for existingClaim for
compact
,ruler
andstoreGateway
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 inprometheus
repo hereChecklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]
[fluentd-elasticsearch]
)