dragonflydb / dragonfly-operator

A Kubernetes operator to install and manage Dragonfly instances.
https://www.dragonflydb.io/docs/managing-dragonfly/operator/installation
Apache License 2.0
132 stars 28 forks source link

Support initContainers #170

Open eve0415 opened 6 months ago

eve0415 commented 6 months ago

My instance (volumes) can only be written by UID 0 (root) normally unless i change the ownership of the files/directories that are mounted using initContainers before the main containers start. Or support changing the UID/GID (runAsUser, runAsGroup) but this is not recommended way.