# Source: calckey/templates/job-db-migrate.yaml apiVersion: batch/v1 kind: Job metadata: name: calckey-db-migrate labels: helm.sh/chart: calckey-0.1.2 app.kubernetes.io/name: calckey app.kubernetes.io/instance: calckey app.kubernetes.io/version: "rc" app.kubernetes.io/managed-by: Helm annotations: "helm.sh/hook": post-install,pre-upgrade "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded "helm.sh/hook-weight": "-2" spec: template: metadata: name: calckey-db-migrate spec: restartPolicy: Never serviceAccountName: calckey securityContext: {} volumes: - name: config-volume secret: secretName: calckey-config containers: - name: calckey securityContext: {} image: "docker.io/thatonecalculator/calckey:rc" imagePullPolicy: IfNotPresent command: - pnpm - run - migrate env: - name: "NODE_ENV" value: "production" volumeMounts: - name: config-volume mountPath: /calckey/.config