drt deploy k8s-cronjob
Scaffold a hardened Kubernetes CronJob for this project's syncs.
Usage
drt deploy k8s-cronjob [OPTIONS]
Options
| Option | Type | Default | Description |
|---|---|---|---|
--schedule, -s | TEXT | Required 5-field cron schedule, e.g. "40 3 * * *". | |
--select | TEXT | * | One sync selector passed to drt run. |
--image | TEXT | YOUR_REGISTRY/drt-sync:latest | Container image for the CronJob. |
--secret-name | TEXT | drt-secrets | Kubernetes Secret containing runtime env vars. |
--output, -o | PATH | deploy/k8s-cronjob.yml | CronJob manifest path to write. |
--dry-run | BOOLEAN | Print the manifest instead of writing it. | |
--force | BOOLEAN | Overwrite an existing manifest. |