Skip to content

Commit

Permalink
fix: allow / in mountPoint
Browse files Browse the repository at this point in the history
  • Loading branch information
abarbare authored and Antoine Barbare committed Feb 5, 2025
1 parent b7b4255 commit a17dba8
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 38,345 deletions.
2 changes: 1 addition & 1 deletion apis/apps/v1alpha1/cluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ type ResourceMeta struct {
//
// +kubebuilder:validation:Required
// +kubebuilder:validation:MaxLength=256
// +kubebuilder:validation:Pattern:=`^/[a-z]([a-z0-9\-]*[a-z0-9])?$`
// +kubebuilder:validation:Pattern:=`^/[a-z]([a-z0-9\-\/\.]*[a-z0-9])?$`
MountPoint string `json:"mountPoint"`

// SubPath specifies a path within the volume from which to mount.
Expand Down
Loading

0 comments on commit a17dba8

Please sign in to comment.