Adding a custom volume to sidecars and instances?
Proposal
Under the cr.yml reference, there is no options to add another volume to sidecars or instances, for example to add a shared emptyDir volume for logs ingestion?
Use-Case
Postgres typically logs into file defined in log_destination setting under postgresql.conf. This can be ingested using means such as fluentbit or promtail to be sent to OpenTelemetry collectors.
Is this a feature you are interested in implementing yourself?
Yes
Anything else?
No response
So we are planning on having persistent logs in the operator, and to support this, we are thinking of introducing separate pvs to store them, related task: https://perconadev.atlassian.net/browse/K8SPG-851.
This solution could also be used to introduce additional pvcs and volumes.
@gregory112 And I have created the task to add all needed features for sidecars https://perconadev.atlassian.net/browse/K8SPG-864