diff --git a/api/testworkflows/v1/types.go b/api/testworkflows/v1/types.go index 8ebafbdd..3637ef91 100644 --- a/api/testworkflows/v1/types.go +++ b/api/testworkflows/v1/types.go @@ -241,6 +241,8 @@ type TestWorkflowPvcConfig struct { Resources *Resources `json:"resources,omitempty" expr:"include"` // Storage class name specifies the name of a StorageClass. More info: https://kubernetes.io/docs/concepts/storage/storage-classes/ StorageClassName string `json:"storageClassName,omitempty" expr:"template"` + // volume name is used to identify the volume + VolumeName string `json:"volumeName,omitempty" expr:"template"` // selector is used to identify a group of volumes based on their metadata labels Selector *metav1.LabelSelector `json:"selector,omitempty" expr:"include"` } diff --git a/config/crd/bases/testworkflows.testkube.io_testworkflows.yaml b/config/crd/bases/testworkflows.testkube.io_testworkflows.yaml index 5e610acf..dfb37c58 100644 --- a/config/crd/bases/testworkflows.testkube.io_testworkflows.yaml +++ b/config/crd/bases/testworkflows.testkube.io_testworkflows.yaml @@ -2778,6 +2778,9 @@ spec: volumeMode: description: 'Volume mode indicates the consumption of the volume as either a filesystem or block device. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#volume-mode' type: string + volumeName: + description: 'Volume name is used to identify the volume' + type: string type: object description: list of accompanying permanent volume claims type: object @@ -4084,6 +4087,9 @@ spec: volumeMode: description: 'Volume mode indicates the consumption of the volume as either a filesystem or block device. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#volume-mode' type: string + volumeName: + description: 'Volume name is used to identify the volume' + type: string type: object description: list of accompanying permanent volume claims type: object @@ -4815,6 +4821,9 @@ spec: volumeMode: description: 'Volume mode indicates the consumption of the volume as either a filesystem or block device. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#volume-mode' type: string + volumeName: + description: 'Volume name is used to identify the volume' + type: string type: object description: list of accompanying permanent volume claims type: object @@ -7848,6 +7857,9 @@ spec: volumeMode: description: 'Volume mode indicates the consumption of the volume as either a filesystem or block device. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#volume-mode' type: string + volumeName: + description: 'Volume name is used to identify the volume' + type: string type: object description: list of accompanying permanent volume claims type: object @@ -10936,6 +10948,9 @@ spec: volumeMode: description: 'Volume mode indicates the consumption of the volume as either a filesystem or block device. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#volume-mode' type: string + volumeName: + description: 'Volume name is used to identify the volume' + type: string type: object description: list of accompanying permanent volume claims type: object diff --git a/config/crd/bases/testworkflows.testkube.io_testworkflowtemplates.yaml b/config/crd/bases/testworkflows.testkube.io_testworkflowtemplates.yaml index 2a8e035b..6816cb5c 100644 --- a/config/crd/bases/testworkflows.testkube.io_testworkflowtemplates.yaml +++ b/config/crd/bases/testworkflows.testkube.io_testworkflowtemplates.yaml @@ -2769,6 +2769,9 @@ spec: of the volume as either a filesystem or block device. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#volume-mode' type: string + volumeName: + description: 'Volume name is used to identify the volume' + type: string type: object description: list of accompanying permanent volume claims type: object @@ -4018,6 +4021,9 @@ spec: volumeMode: description: 'Volume mode indicates the consumption of the volume as either a filesystem or block device. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#volume-mode' type: string + volumeName: + description: 'Volume name is used to identify the volume' + type: string type: object description: list of accompanying permanent volume claims type: object @@ -4757,6 +4763,9 @@ spec: of the volume as either a filesystem or block device. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#volume-mode' type: string + volumeName: + description: 'Volume name is used to identify the volume' + type: string type: object description: list of accompanying permanent volume claims type: object @@ -7761,6 +7770,9 @@ spec: of the volume as either a filesystem or block device. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#volume-mode' type: string + volumeName: + description: 'Volume name is used to identify the volume' + type: string type: object description: list of accompanying permanent volume claims type: object @@ -10783,6 +10795,9 @@ spec: of the volume as either a filesystem or block device. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#volume-mode' type: string + volumeName: + description: 'Volume name is used to identify the volume' + type: string type: object description: list of accompanying permanent volume claims type: object