fix(deployment-api): update init container paths to use /app/api/data

This commit is contained in:
2026-02-28 05:19:09 +00:00
parent f9938f4ca6
commit c837d04f95

View File

@@ -26,12 +26,12 @@ spec:
command: ['sh', '-c']
args:
- |
mkdir -p /app/data/citizens /app/data/communities /app/data/content
chmod -R 777 /app/data
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/api/data
echo "Permissions fixed"
volumeMounts:
- name: data
mountPath: /app/data
mountPath: /app/api/data
securityContext:
runAsUser: 0
runAsNonRoot: false
@@ -56,7 +56,7 @@ spec:
key: jwtSecret
volumeMounts:
- name: data
mountPath: /app/data
mountPath: /app/api/data
resources:
requests:
memory: "256Mi"