Skip to content

Commit

Permalink
Add Projected to custom VolumeSource struct
Browse files Browse the repository at this point in the history
  • Loading branch information
dprince committed Oct 26, 2024
1 parent 9ed5bb1 commit 5dd87f7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/storage/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ type VolumeSource struct {
// csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature).
// +optional
CSI *corev1.CSIVolumeSource `json:"csi,omitempty" protobuf:"bytes,28,opt,name=csi"`

// projected items for all in one resources secrets, configmaps, and downward API
Projected *corev1.ProjectedVolumeSource `json:"projected,omitempty" protobuf:"bytes,26,opt,name=projected"`
}

// Volume our slimmed down version of Volume
Expand Down

0 comments on commit 5dd87f7

Please sign in to comment.