diff --git a/api/v1/testkube.yaml b/api/v1/testkube.yaml index 60336c86c1..065638042c 100644 --- a/api/v1/testkube.yaml +++ b/api/v1/testkube.yaml @@ -10611,13 +10611,13 @@ components: 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 + $ref: "#/components/schemas/BoxedString" resources: description: 'Resources required for pvc' $ref: "#/components/schemas/TestWorkflowResources" storageClassName: description: 'Storage class name specifies the name of a StorageClass. More info: https://kubernetes.io/docs/concepts/storage/storage-classes/' - type: string + $ref: "#/components/schemas/BoxedString" volumeName: description: 'Volume name is used to identify the volume' type: string diff --git a/pkg/api/v1/testkube/model_test_workflow_pvc_config.go b/pkg/api/v1/testkube/model_test_workflow_pvc_config.go index 77cacf8f69..02b3f00cdb 100644 --- a/pkg/api/v1/testkube/model_test_workflow_pvc_config.go +++ b/pkg/api/v1/testkube/model_test_workflow_pvc_config.go @@ -11,12 +11,10 @@ package testkube type TestWorkflowPvcConfig struct { // Access mode for claim storage. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes - AccessModes []string `json:"accessModes,omitempty"` - // 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 - VolumeMode string `json:"volumeMode,omitempty"` - Resources *TestWorkflowResources `json:"resources,omitempty"` - // Storage class name specifies the name of a StorageClass. More info: https://kubernetes.io/docs/concepts/storage/storage-classes/ - StorageClassName string `json:"storageClassName,omitempty"` + AccessModes []string `json:"accessModes,omitempty"` + VolumeMode *BoxedString `json:"volumeMode,omitempty"` + Resources *TestWorkflowResources `json:"resources,omitempty"` + StorageClassName *BoxedString `json:"storageClassName,omitempty"` // Volume name is used to identify the volume VolumeName string `json:"volumeName,omitempty"` Selector *LabelSelector `json:"selector,omitempty"`