Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,9 @@ spec:
triggers:
- template:
name: alertmanager-workflow-trigger
# uses 'argo' CLI instead of 'kubectl'
argoWorkflow:
# sets the operation to 'argo submit'
operation: submit

# creates workflow object directly via k8s API
k8s:
operation: create
parameters:
- src:
dependencyName: alertmanager-dep
Expand Down
8 changes: 3 additions & 5 deletions workflows/openstack/sensors/sensor-ironic-node-port.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,9 @@ spec:
triggers:
- template:
name: ironic-node-port
# uses 'argo' CLI instead of 'kubectl'
argoWorkflow:
# sets the operation to 'argo submit'
operation: submit
# edits source section
# creates workflow object directly via k8s API
k8s:
operation: create
parameters:
# first parameter is the parsed oslo.message
- dest: spec.arguments.parameters.0.value
Expand Down
8 changes: 3 additions & 5 deletions workflows/openstack/sensors/sensor-ironic-node-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,9 @@ spec:
triggers:
- template:
name: ironic-node-update
# uses 'argo' CLI instead of 'kubectl'
argoWorkflow:
# sets the operation to 'argo submit'
operation: submit
# edits source section
# creates workflow object directly via k8s API
k8s:
operation: create
parameters:
# first parameter's value is replaced with the uuid
- dest: spec.arguments.parameters.0.value
Expand Down
8 changes: 3 additions & 5 deletions workflows/openstack/sensors/sensor-ironic-reclean.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,9 @@ spec:
triggers:
- template:
name: ironic-reclean
# uses 'argo' CLI instead of 'kubectl'
argoWorkflow:
# sets the operation to 'argo submit'
operation: submit
# edits source section
# creates workflow object directly via k8s API
k8s:
operation: create
parameters:
# first parameter's value is replaced with the uuid
- dest: spec.arguments.parameters.0.value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,9 @@ spec:
triggers:
- template:
name: keystone-event-project
# uses 'argo' CLI instead of 'kubectl'
argoWorkflow:
# sets the operation to 'argo submit'
operation: submit
# edits the source section
# creates workflow object directly via k8s API
k8s:
operation: create
parameters:
# first parameter's value is replaced with the event type
- dest: spec.arguments.parameters.0.value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,9 @@ spec:
triggers:
- template:
name: neutron-event-network-segment-range
# uses 'argo' CLI instead of 'kubectl'
argoWorkflow:
# sets the operation to 'argo submit'
operation: submit
# edits the source section
# creates workflow object directly via k8s API
k8s:
operation: create
parameters:
- dest: spec.arguments.parameters.0.value
src:
Expand Down
Loading