apiVersion: batch/v1 kind: Job metadata: name: migrations spec: template: spec: containers: - name: migrations image: migrations command: ["migrate"] args: ["-path", "/migrations", "-database", "$(LLINK_POSTGRES_CONNECTION_URL)", "up"] env: - name: "LLINK_POSTGRES_CONNECTION_URL" value: "postgresql://neondb_owner:npg_ysiLkYo3Ez9G@ep-aged-feather-amfusyhe-pooler.c-5.us-east-1.aws.neon.tech/neondb?sslmode=require&channel_binding=require" restartPolicy: Never backoffLimit: 0