diff --git a/modules/storage/storage.go b/modules/storage/storage.go index 641706b56..71212474b 100644 --- a/modules/storage/storage.go +++ b/modules/storage/storage.go @@ -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