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