diff --git a/api/testworkflows/v1/status_types.go b/api/testworkflows/v1/status_types.go index 4e537a4c..0822efd7 100644 --- a/api/testworkflows/v1/status_types.go +++ b/api/testworkflows/v1/status_types.go @@ -20,7 +20,7 @@ type TestWorkflowExecutionSummary struct { Workflow *TestWorkflowSummary `json:"workflow"` // test workflow execution tags Tags map[string]string `json:"tags,omitempty"` - // running context for the test workflow execution + // running context for the test workflow execution (Pro edition only) RunningContext *TestWorkflowRunningContext `json:"runningContext,omitempty"` } diff --git a/api/testworkflows/v1/testworkflowexecution_types.go b/api/testworkflows/v1/testworkflowexecution_types.go index 2a0c2935..667f2b36 100644 --- a/api/testworkflows/v1/testworkflowexecution_types.go +++ b/api/testworkflows/v1/testworkflowexecution_types.go @@ -39,7 +39,7 @@ type TestWorkflowExecutionRequest struct { DisableWebhooks bool `json:"disableWebhooks,omitempty"` // test workflow execution tags Tags map[string]string `json:"tags,omitempty" expr:"template"` - // running context for the test workflow execution + // running context for the test workflow execution (Pro edition only) RunningContext *TestWorkflowRunningContext `json:"runningContext,omitempty"` } @@ -85,7 +85,7 @@ type TestWorkflowExecutionDetails struct { DisableWebhooks bool `json:"disableWebhooks,omitempty"` // test workflow execution tags Tags map[string]string `json:"tags,omitempty"` - // running context for the test workflow execution + // running context for the test workflow execution (Pro edition only) RunningContext *TestWorkflowRunningContext `json:"runningContext,omitempty"` } @@ -95,7 +95,7 @@ type TestWorkflowRunningContext struct { Actor *TestWorkflowRunningContextActor `json:"actor"` } -// TestWorkflowRunningContextActorType : supported actors for test workflow running context +// supported actors for test workflow running context // +kubebuilder:validation:Enum=cron;testrigger;user;testworkflow;testworkflowexecution;program type TestWorkflowRunningContextActorType string @@ -124,7 +124,7 @@ type TestWorkflowRunningContextActor struct { Type_ *TestWorkflowRunningContextActorType `json:"type"` } -// TestWorkflowRunningContextInterfaceType : supported interfaces for test workflow running context +// supported interfaces for test workflow running context // +kubebuilder:validation:Enum=cli;ui;api;ci/cd;internal type TestWorkflowRunningContextInterfaceType string diff --git a/config/crd/bases/testworkflows.testkube.io_testworkflowexecutions.yaml b/config/crd/bases/testworkflows.testkube.io_testworkflowexecutions.yaml index b3c5cccc..ab768c69 100644 --- a/config/crd/bases/testworkflows.testkube.io_testworkflowexecutions.yaml +++ b/config/crd/bases/testworkflows.testkube.io_testworkflowexecutions.yaml @@ -56,7 +56,7 @@ spec: description: custom execution name type: string runningContext: - description: running context for the test workflow execution + description: running context for the test workflow execution (Pro edition only) properties: actor: description: running context actor for test workflow execution @@ -75,8 +75,7 @@ spec: description: actor name type: string type: - description: 'TestWorkflowRunningContextActorType : supported - actors for test workflow running context' + description: supported actors for test workflow running context enum: - cron - testrigger @@ -98,8 +97,7 @@ spec: description: interface name type: string type: - description: 'TestWorkflowRunningContextInterfaceType - : supported interfaces for test workflow running context' + description: supported interfaces for test workflow running context enum: - cli - ui @@ -358,7 +356,7 @@ spec: - status type: object runningContext: - description: running context for the test workflow execution + description: running context for the test workflow execution (Pro edition only) properties: actor: description: running context actor for test workflow execution @@ -377,8 +375,7 @@ spec: description: actor name type: string type: - description: 'TestWorkflowRunningContextActorType : supported - actors for test workflow running context' + description: supported actors for test workflow running context' enum: - cron - testrigger @@ -400,8 +397,7 @@ spec: description: interface name type: string type: - description: 'TestWorkflowRunningContextInterfaceType - : supported interfaces for test workflow running context' + description: supported interfaces for test workflow running context enum: - cli - ui diff --git a/config/crd/bases/testworkflows.testkube.io_testworkflows.yaml b/config/crd/bases/testworkflows.testkube.io_testworkflows.yaml index 39837ba0..7e838af3 100644 --- a/config/crd/bases/testworkflows.testkube.io_testworkflows.yaml +++ b/config/crd/bases/testworkflows.testkube.io_testworkflows.yaml @@ -10741,7 +10741,7 @@ spec: - totalDurationMs type: object runningContext: - description: running context for the test workflow execution + description: running context for the test workflow execution (Pro edition only) properties: actor: description: running context actor for test workflow execution @@ -10759,7 +10759,7 @@ spec: description: actor name type: string type: - description: 'TestWorkflowRunningContextActorType : supported actors for test workflow running context' + description: supported actors for test workflow running context enum: - cron - testrigger @@ -10781,7 +10781,7 @@ spec: description: interface name type: string type: - description: 'TestWorkflowRunningContextInterfaceType : supported interfaces for test workflow running context' + description: supported interfaces for test workflow running context enum: - cli - ui