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:
|
||||
app: redis
|
||||
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:
|
||||
- name: redis
|
||||
image: redis:alpine
|
||||
|
||||
Reference in New Issue
Block a user