fix: add fsGroup + init container for SQLite write permissions
This commit is contained in:
@@ -96,6 +96,15 @@ spec:
|
||||
labels:
|
||||
app: telephony-web
|
||||
spec:
|
||||
securityContext:
|
||||
fsGroup: 1654
|
||||
initContainers:
|
||||
- name: fix-data-perms
|
||||
image: busybox:latest
|
||||
command: ["sh", "-c", "chown -R 1654:1654 /data"]
|
||||
volumeMounts:
|
||||
- name: telephony-data
|
||||
mountPath: /data
|
||||
containers:
|
||||
- name: telephony-web
|
||||
image: localhost/fc-telephony-web:latest
|
||||
|
||||
Reference in New Issue
Block a user