Last active
January 15, 2025 21:18
-
-
Save maximilien/feb903214b34e4eb035625c3a3413dc9 to your computer and use it in GitHub Desktop.
Bee Hive - YAML - Conditional 1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: beehive/v1 | |
kind: Workflow | |
metadata: | |
name: beehive-deployment | |
labels: | |
app: example2 | |
spec: | |
strategy: | |
type: sequence | |
template: | |
metadata: | |
labels: | |
app: mas | |
use-case: cbom | |
agents: | |
- finder | |
- fixer | |
- writer | |
steps: | |
exception: | |
- step4 | |
step1: | |
finder: | |
code: | | |
# code here | |
step2: | |
condition: | |
if: | | |
# expression | |
then: | |
step1: | | |
# additional code | |
else: | | |
# additional code | |
step3: | |
writer: | |
code: | | |
# code here | |
step4: | |
code: | | |
# exception code |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment