Preserve volumeMounts from PodConfig#1073
Conversation
Signed-off-by: Andrew Hyatt <4400272+ahyattdev@users.noreply.github.com>
d3a5db7 to
97b7ead
Compare
|
Just saw #1056, which adds an emptyDir for |
|
I would still want this, for other use-cases. We use a CSI volume for secrets (for example, for S3), so being able to specify additional volumes to be included would still be beneficial. |
|
Thanks for this contribution! Preserving volumeMounts from PodConfig for Backup, Archive, and Restore makes a lot of sense — good catch that it was only handled for Check and Prune. To move this forward, a couple of things are needed:
If you have any questions, feel free to ask! |
Summary
Preserve volumeMounts from PodConfig.
This currently handled for Check and Prune, but not Backup, Archive, or Restore.
Issue mentioned here in a comment: #584 (comment)
One use case: if securityContext calls for a read only root FS, you need an emptyDir at /.cache for the restic cache to be written to.
Checklist
For Code changes
bug,enhancement,documentation,change,breaking,dependencyas they show up in the changelog
area:operatorcharts/directory.For Helm Chart changes
bug,enhancement,documentation,change,breaking,dependencyas they show up in the changelog
area:chartchart:k8upmake chart-docs