Skip to content

Commit 6c1d581

Browse files
fix: usage example
1 parent 910796b commit 6c1d581

2 files changed

Lines changed: 5 additions & 11 deletions

File tree

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ kind: CronWorkflow
44
metadata:
55
name: resync-nautobot
66
annotations:
7-
workflows.argoproj.io/title: Scheduled resync of Keystone and Ironic to Nautobot
7+
workflows.argoproj.io/title: Scheduled resync of Keystone, Neutron and Ironic to Nautobot
88
workflows.argoproj.io/description: |
9-
Periodically resyncs Keystone projects and Ironic nodes to Nautobot to
10-
catch any drift. Runs daily at 2:00 AM UTC by default.
9+
Periodically resyncs Keystone projects, Neutron networks, subnets and Ironic nodes
10+
and ports to Nautobot to catch any drift. Runs daily at 2:00 AM UTC by default.
1111
1212
Keystone projects are synced first (tenants must exist before devices can
13-
reference them), then Ironic nodes.
13+
reference them), then Neutron networks, subnets, then Ironic nodes.
1414
1515
To manually trigger:
1616
```

workflows/argo-events/workflowtemplates/resync-nautobot.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,11 @@ metadata:
1212
devices can reference them), then Neutron networks, then Ironic nodes.
1313
Each step continues even if the previous step fails.
1414
15-
To resync all:
15+
Usage:
1616
```
1717
argo -n argo-events submit --from workflowtemplate/resync-nautobot
1818
```
1919
20-
To resync specific items:
21-
```
22-
argo -n argo-events submit --from workflowtemplate/resync-nautobot \
23-
-p project="<project-uuid>" -p node="<node-uuid>"
24-
```
25-
2620
Defined in `workflows/argo-events/workflowtemplates/resync-nautobot.yaml`
2721
spec:
2822
entrypoint: main

0 commit comments

Comments
 (0)