fix permissions
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 55s
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 55s
This commit is contained in:
@@ -35,6 +35,14 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: redis
|
app: redis
|
||||||
spec:
|
spec:
|
||||||
|
initContainers:
|
||||||
|
- name: fix-permissions
|
||||||
|
image: busybox
|
||||||
|
# Ändert den Besitzer von /data auf User 999 (redis) und Gruppe 999
|
||||||
|
command: [ "sh", "-c", "chown -R 999:999 /data" ]
|
||||||
|
volumeMounts:
|
||||||
|
- name: data
|
||||||
|
mountPath: /data
|
||||||
containers:
|
containers:
|
||||||
- name: redis
|
- name: redis
|
||||||
image: redis:alpine
|
image: redis:alpine
|
||||||
|
|||||||
Reference in New Issue
Block a user