Is there any way to set per-volume permissions/ownership in Kubernetes declaratively?
Usecase:
It can be done with adding one init container with root access.
initContainers: - name: changeowner image: busybox command: ["sh", "-c", "chown -R 200:200 /"] volumeMounts: - name: mountPath: /