-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
To Reproduce
yaml
apiVersion: core.oam.dev/v1alpha1
kind: WorkflowRun
metadata:
name: test-tgt
namespace: default
annotations:
workflowrun.oam.dev/debug: "true"
spec:
mode:
steps: StepByStep
subSteps: StepByStep
workflowSpec:
steps:
- name: mig-group
type: step-group
if: input.mock == true
subSteps:
- name: read-pod
type: read-pod
properties:
namespace: appworkflow
podName: hdfsjournalnode-286nr-0
cue:
import (
"vela/op"
)
"read-pod": {
alias: ""
annotations: {}
attributes: {}
description: ""
labels: {}
type: "workflow-step"
}
template: {
parameter: {
podName: string
namespace: string
}
read: op.#Read & {
value: {
kind: "Pod"
apiVersion: "v1"
metadata: {
name: parameter.podName
namespace: parameter.namespace
}
}
}
}
Expected behavior
Screenshots
Workflow Version
v0.4.2
Cluster information
Metadata
Metadata
Assignees
Labels
No labels

