fix(stalwart): Correct permissions to 2000:2000
- Fixed init container to set ownership to 2000:2000 - Stalwart container runs as user 2000 by default - Resolves permission denied error during web UI setup Refs: DEV-206 Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
509bbebe10
commit
843affde05
1 changed files with 1 additions and 1 deletions
|
|
@ -152,7 +152,7 @@ spec:
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: fix-permissions
|
- name: fix-permissions
|
||||||
image: busybox:latest
|
image: busybox:latest
|
||||||
command: ["sh", "-c", "chown -R 1000:1000 /var/lib/stalwart && chmod -R 755 /var/lib/stalwart"]
|
command: ["sh", "-c", "chown -R 2000:2000 /var/lib/stalwart && chmod -R 755 /var/lib/stalwart"]
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: /var/lib/stalwart
|
mountPath: /var/lib/stalwart
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue