mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-12 19:11:23 +03:00
ab8204368c
Over time, I think we may end up having multiple services, so it seems like a good opportunity to name this one more specifically while the cost is low. It just seems like naming it "zed" and "zed-server" leaves it a bit open ended.
19 lines
402 B
YAML
19 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
|