Skip to content

Commit

Permalink
Update volumesource to be json inline
Browse files Browse the repository at this point in the history
  • Loading branch information
dprince committed Nov 1, 2024
1 parent 4878b3f commit d44f6ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/storage/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ type Volume struct {
Name string `json:"name"`
// +kubebuilder:validation:Required
// VolumeSource defines the source of a volume to be mounted
VolumeSource VolumeSource `json:"volumeSource"`
VolumeSource VolumeSource `json:",inline" protobuf:"bytes,2,opt,name=volumeSource"`
}

// VolMounts is the data structure used to expose Volumes and Mounts that can
Expand Down

0 comments on commit d44f6ee

Please sign in to comment.