Skip to content

Commit

Permalink
fix: change to *string type
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Sukhin <[email protected]>
  • Loading branch information
vsukhin committed Dec 13, 2024
1 parent df33274 commit e0d37fb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/testworkflows/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,11 +236,11 @@ 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" expr:"template"`
// 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" expr:"template"`
VolumeMode *string `json:"volumeMode,omitempty" expr:"template"`
// expected resources for the pvc
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"`
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
Expand Down
10 changes: 10 additions & 0 deletions api/testworkflows/v1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e0d37fb

Please sign in to comment.