From 63c34fde6660733fda0700ccd2331dcd6c918e0a Mon Sep 17 00:00:00 2001 From: Vladislav Sukhin Date: Fri, 21 Apr 2023 14:18:14 +0300 Subject: [PATCH] fix: change artifact support --- apis/tests/v3/test_types.go | 8 ++++---- config/crd/bases/tests.testkube.io_tests.yaml | 9 ++++----- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/apis/tests/v3/test_types.go b/apis/tests/v3/test_types.go index c0bbd315..ca0a22cd 100644 --- a/apis/tests/v3/test_types.go +++ b/apis/tests/v3/test_types.go @@ -115,13 +115,13 @@ const ( GitAuthTypeHeader GitAuthType = "header" ) -// artifact request body for container executors with test artifacts +// artifact request body with test artifacts type ArtifactRequest struct { - // artifact storage class name + // artifact storage class name for container executor StorageClassName string `json:"storageClassName"` - // artifact volume mount path + // artifact volume mount path for container executor VolumeMountPath string `json:"volumeMountPath"` - // artifact directories + // artifact directories for scraping Dirs []string `json:"dirs,omitempty"` } diff --git a/config/crd/bases/tests.testkube.io_tests.yaml b/config/crd/bases/tests.testkube.io_tests.yaml index f8d41f12..29fba4f0 100644 --- a/config/crd/bases/tests.testkube.io_tests.yaml +++ b/config/crd/bases/tests.testkube.io_tests.yaml @@ -458,19 +458,18 @@ spec: - override type: string artifactRequest: - description: artifact request body for container executors with - test artifacts + description: artifact request body with test artifacts properties: dirs: - description: artifact directories + description: artifact directories for scraping items: type: string type: array storageClassName: - description: artifact storage class name + description: artifact storage class name for container executor type: string volumeMountPath: - description: artifact volume mount path + description: artifact volume mount path for container executor type: string required: - storageClassName