Skip to content

Commit d15954b

Browse files
authored
Merge pull request #1007 from kubeshop/update-crds
chore: add target to workflow crd
2 parents a8b17d7 + 32442b9 commit d15954b

File tree

2 files changed

+43
-1
lines changed

2 files changed

+43
-1
lines changed

charts/testkube-operator/templates/testworkflows.testkube.io_testworkflows.yaml

+21
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{{- if .Values.installCRD }}
22
---
3+
---
34
apiVersion: apiextensions.k8s.io/v1
45
kind: CustomResourceDefinition
56
metadata:
@@ -3711,6 +3712,26 @@ spec:
37113712
type: string
37123713
description: test workflow execution tags
37133714
type: object
3715+
target:
3716+
description: Targets helps decide on which runner the execution is scheduled.
3717+
properties:
3718+
match:
3719+
additionalProperties:
3720+
items:
3721+
type: string
3722+
type: array
3723+
type: object
3724+
not:
3725+
additionalProperties:
3726+
items:
3727+
type: string
3728+
type: array
3729+
type: object
3730+
replicate:
3731+
items:
3732+
type: string
3733+
type: array
3734+
type: object
37143735
type: object
37153736
job:
37163737
description: configuration for the scheduled job

charts/testkube-operator/templates/testworkflows.testkube.io_testworkflowtemplates.yaml

+22-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{{- if .Values.installCRD }}
22
---
3+
---
34
apiVersion: apiextensions.k8s.io/v1
45
kind: CustomResourceDefinition
56
metadata:
@@ -3637,6 +3638,26 @@ spec:
36373638
type: string
36383639
description: test workflow execution tags
36393640
type: object
3641+
target:
3642+
description: Targets helps decide on which runner the execution is scheduled.
3643+
properties:
3644+
match:
3645+
additionalProperties:
3646+
items:
3647+
type: string
3648+
type: array
3649+
type: object
3650+
not:
3651+
additionalProperties:
3652+
items:
3653+
type: string
3654+
type: array
3655+
type: object
3656+
replicate:
3657+
items:
3658+
type: string
3659+
type: array
3660+
type: object
36403661
type: object
36413662
job:
36423663
description: configuration for the scheduled job
@@ -10873,4 +10894,4 @@ spec:
1087310894
type: object
1087410895
served: true
1087510896
storage: true
10876-
{{- end }}
10897+
{{- end }}

0 commit comments

Comments
 (0)