fix(helm): file permission issues when running as non-root user

Specify the user group for the garage (and init) process and ensure
that the persistent storage is mounted with the correct file system
group
This commit is contained in:
Patrick Jahns
2022-11-16 21:46:43 +01:00
committed by Maximilien Richer
parent da6f7b0dda
commit fd03b184b3
2 changed files with 8 additions and 5 deletions
@@ -41,6 +41,8 @@ spec:
secretKeyRef:
name: {{ include "garage.rpcSecretName" . }}
key: rpcSecret
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
volumeMounts:
- name: configmap
mountPath: /mnt/garage.toml