diff --git a/modules/storage/storage.go b/modules/storage/storage.go index ff654d05..17a0e4f5 100644 --- a/modules/storage/storage.go +++ b/modules/storage/storage.go @@ -108,13 +108,16 @@ type Volume struct { type VolMounts struct { // +kubebuilder:validation:type={PropagationEverywhere} // Propagation defines which pod should mount the volume + // +listType=atomic Propagation []PropagationType `json:"propagation,omitempty"` // Label associated to a given extraMount // +kubebuilder:validation:Optional ExtraVolType ExtraVolType `json:"extraVolType,omitempty"` // +kubebuilder:validation:Required + // +listType=atomic Volumes []Volume `json:"volumes"` // +kubebuilder:validation:Required + // +listType=atomic Mounts []corev1.VolumeMount `json:"mounts"` }