Skip to content

Commit

Permalink
fix: rename var
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io>
  • Loading branch information
vsukhin committed Dec 11, 2024
1 parent 7530e05 commit 6d67658
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions api/v1/testkube.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8800,7 +8800,7 @@ components:
pvcs:
type: object
additionalProperties:
$ref: "#/components/schemas/TestWorkflowPVCConfig"
$ref: "#/components/schemas/TestWorkflowPvcConfig"

TestWorkflowTemplateSpec:
type: object
Expand Down Expand Up @@ -8842,7 +8842,7 @@ components:
pvcs:
type: object
additionalProperties:
$ref: "#/components/schemas/TestWorkflowPVCConfig"
$ref: "#/components/schemas/TestWorkflowPvcConfig"

TestWorkflowStepControl:
type: object
Expand Down Expand Up @@ -10596,11 +10596,11 @@ components:
must be defined
type: boolean

TestWorkflowPVCConfig:
TestWorkflowPvcConfig:
type: object
properties:
shared:
description: Specify whether the PVC should be shared between test workflow pods
description: Specify whether the pvc should be shared between test workflow pods
type: boolean
accessModes:
description: 'Access mode for claim storage. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes'
Expand All @@ -10612,7 +10612,7 @@ components:
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#volume-mode'
type: string
resources:
description: 'Resources required for PVC'
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/'
Expand Down
2 changes: 1 addition & 1 deletion pkg/api/v1/testkube/model_test_workflow_pvc_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
package testkube

type TestWorkflowPvcConfig struct {
// Specify whether the PVC should be shared between test workflow pods
// Specify whether the pvc should be shared between test workflow pods
Shared bool `json:"shared,omitempty"`
// Access mode for claim storage. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes
AccessModes []string `json:"accessModes,omitempty"`
Expand Down

0 comments on commit 6d67658

Please sign in to comment.