fix(deployment-api): update init container paths to use /app/api/data
This commit is contained in:
@@ -26,12 +26,12 @@ spec:
|
|||||||
command: ['sh', '-c']
|
command: ['sh', '-c']
|
||||||
args:
|
args:
|
||||||
- |
|
- |
|
||||||
mkdir -p /app/data/citizens /app/data/communities /app/data/content
|
mkdir -p /app/api/data/citizens /app/api/data/communities /app/api/data/content /app/api/data/memberships /app/api/data/reactions
|
||||||
chmod -R 777 /app/data
|
chmod -R 777 /app/api/data
|
||||||
echo "Permissions fixed"
|
echo "Permissions fixed"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: /app/data
|
mountPath: /app/api/data
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: 0
|
runAsUser: 0
|
||||||
runAsNonRoot: false
|
runAsNonRoot: false
|
||||||
@@ -56,7 +56,7 @@ spec:
|
|||||||
key: jwtSecret
|
key: jwtSecret
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: /app/data
|
mountPath: /app/api/data
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: "256Mi"
|
memory: "256Mi"
|
||||||
|
|||||||
Reference in New Issue
Block a user