fix: add fsGroup + init container for SQLite write permissions
This commit is contained in:
@@ -96,6 +96,15 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: telephony-web
|
app: telephony-web
|
||||||
spec:
|
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:
|
containers:
|
||||||
- name: telephony-web
|
- name: telephony-web
|
||||||
image: localhost/fc-telephony-web:latest
|
image: localhost/fc-telephony-web:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user