Skip to content

Commit f190022

Browse files
spuiukphlogistonjohn
authored andcommitted
api: Add Spec.Storage.PVC.path to the CRD
Signed-off-by: Sachin Prabhu <[email protected]>
1 parent 26eab0c commit f190022

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

api/v1alpha1/smbshare_types.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ type SmbSharePvcSpec struct {
8686
// Behaves similar to the embedded PVC spec for pods.
8787
// +optional
8888
Spec *corev1.PersistentVolumeClaimSpec `json:"spec,omitempty"`
89+
90+
// Path within the PVC which should be exported.
91+
// +optional
92+
Path string `json:"path,omitempty"`
8993
}
9094

9195
// SmbShareScalingSpec defines scaling parameters for a share.

0 commit comments

Comments
 (0)