.
This commit is contained in:
@@ -28,6 +28,23 @@ spec:
|
||||
labels:
|
||||
app: phpbb
|
||||
spec:
|
||||
initContainers:
|
||||
- name: init-permissions
|
||||
image: busybox:1.36
|
||||
command:
|
||||
- sh
|
||||
- -ec
|
||||
- |
|
||||
mkdir -p /data/files
|
||||
mkdir -p /data/store
|
||||
mkdir -p /data/avatars-upload
|
||||
chmod 0777 /data/files /data/store /data/avatars-upload
|
||||
securityContext:
|
||||
runAsUser: 0
|
||||
runAsGroup: 0
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: /data
|
||||
containers:
|
||||
- name: phpbb
|
||||
image: selim13/phpbb:3.3
|
||||
|
||||
Reference in New Issue
Block a user