Skip to content

Commit e4f1af1

Browse files
committed
fix(argo-workflows): use CronWorkflow schedules instead of schedule
The singular spec.schedule field is deprecated and removed in Argo Workflows 4.0. spec.schedules is already supported in 3.7, so switch resync-nautobot now to unblock the upgrade.
1 parent 5a7034e commit e4f1af1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎workflows/argo-events/cronworkflows/resync-nautobot.yaml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ metadata:
1919
2020
Defined in `workflows/argo-events/cronworkflows/resync-nautobot.yaml`
2121
spec:
22-
schedule: "0 2 * * *"
22+
schedules:
23+
- "0 2 * * *"
2324
timezone: "UTC"
2425
concurrencyPolicy: "Forbid"
2526
successfulJobsHistoryLimit: 3

0 commit comments

Comments
 (0)