Skip to main content

drt deploy k8s-cronjob

Scaffold a hardened Kubernetes CronJob for this project's syncs.

Usage​

drt deploy k8s-cronjob [OPTIONS]

Options​

OptionTypeDefaultDescription
--schedule, -sTEXTRequired 5-field cron schedule, e.g. "40 3 * * *".
--selectTEXT*One sync selector passed to drt run.
--imageTEXTYOUR_REGISTRY/drt-sync:latestContainer image for the CronJob.
--secret-nameTEXTdrt-secretsKubernetes Secret containing runtime env vars.
--output, -oPATHdeploy/k8s-cronjob.ymlCronJob manifest path to write.
--dry-runBOOLEANPrint the manifest instead of writing it.
--forceBOOLEANOverwrite an existing manifest.