refactor(helm): move seed job emptyDir mount to /app/cache (from /cache)
This commit is contained in:
parent
b73d9e5f48
commit
22ebadf393
1 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Reference in a new issue