1
0
Fork 0

refactor(helm): move seed job emptyDir mount to /app/cache (from /cache)

This commit is contained in:
Vojtěch Mareš 2023-07-04 19:28:34 +02:00
parent b73d9e5f48
commit 22ebadf393
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D

View file

@ -24,7 +24,7 @@ spec:
- |
npm install esbuild --no-save
npx esbuild prisma/seed.ts --outfile=/cache/seed.cjs --bundle --format=cjs --external:prisma --external:@prisma/client --platform=node
node /cache/seed.cjs
node /app/cache/seed.cjs
envFrom:
- configMapRef:
name: {{ .Release.Name }}-config
@ -33,7 +33,7 @@ spec:
- secretRef:
name: {{ .Release.Name }}-nextauth
volumeMounts:
- mountPath: /cache
- mountPath: /app/cache
name: cache-volume
restartPolicy: Never
volumes: