mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-28 11:29:25 +00:00
fdfed3d7db
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
18 lines
402 B
YAML
18 lines
402 B
YAML
apiVersion: batch/v1
|
|
kind: Job
|
|
metadata:
|
|
namespace: ${ZED_KUBE_NAMESPACE}
|
|
name: ${ZED_MIGRATE_JOB_NAME}
|
|
spec:
|
|
template:
|
|
spec:
|
|
restartPolicy: Never
|
|
containers:
|
|
- name: migrator
|
|
image: ${ZED_IMAGE_ID}
|
|
env:
|
|
- name: DATABASE_URL
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: database
|
|
key: url
|