sso-kustom/resources/hydra/resources/hydra-migrate-job.yaml

14 lines
334 B
YAML

apiVersion: batch/v1
kind: Job
metadata:
name: hydra-migrate
spec:
template:
spec:
restartPolicy: OnFailure
containers:
- env: []
name: hydra-migrate
image: reg.cadoles.com/proxy_cache/oryd/hydra:v2.0.3
imagePullPolicy: IfNotPresent
args: ["migrate", "sql", "--yes", "$(DSN)"]