Skip to content

Commit

Permalink
fix: remove the pattern validation for ResourceMeta.MountPoint (#8874)
Browse files Browse the repository at this point in the history
(cherry picked from commit e80c30c)
  • Loading branch information
abarbare authored and zjx20 committed Feb 8, 2025
1 parent d0d97c6 commit 8c67ef4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion apis/apps/v1alpha1/cluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,6 @@ type ResourceMeta struct {
//
// +kubebuilder:validation:Required
// +kubebuilder:validation:MaxLength=256
// +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
4 changes: 0 additions & 4 deletions config/crd/bases/apps.kubeblocks.io_clusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22058,7 +22058,6 @@ spec:
description: MountPoint is the filesystem path where
the volume will be mounted.
maxLength: 256
pattern: ^/[a-z]([a-z0-9\-]*[a-z0-9])?$
type: string
name:
description: Name is the name of the referenced ConfigMap
Expand Down Expand Up @@ -22095,7 +22094,6 @@ spec:
description: MountPoint is the filesystem path where
the volume will be mounted.
maxLength: 256
pattern: ^/[a-z]([a-z0-9\-]*[a-z0-9])?$
type: string
name:
description: Name is the name of the referenced ConfigMap
Expand Down Expand Up @@ -31294,7 +31292,6 @@ spec:
description: MountPoint is the filesystem path
where the volume will be mounted.
maxLength: 256
pattern: ^/[a-z]([a-z0-9\-]*[a-z0-9])?$
type: string
name:
description: Name is the name of the referenced
Expand Down Expand Up @@ -31332,7 +31329,6 @@ spec:
description: MountPoint is the filesystem path
where the volume will be mounted.
maxLength: 256
pattern: ^/[a-z]([a-z0-9\-]*[a-z0-9])?$
type: string
name:
description: Name is the name of the referenced
Expand Down
4 changes: 0 additions & 4 deletions deploy/helm/crds/apps.kubeblocks.io_clusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22058,7 +22058,6 @@ spec:
description: MountPoint is the filesystem path where
the volume will be mounted.
maxLength: 256
pattern: ^/[a-z]([a-z0-9\-]*[a-z0-9])?$
type: string
name:
description: Name is the name of the referenced ConfigMap
Expand Down Expand Up @@ -22095,7 +22094,6 @@ spec:
description: MountPoint is the filesystem path where
the volume will be mounted.
maxLength: 256
pattern: ^/[a-z]([a-z0-9\-]*[a-z0-9])?$
type: string
name:
description: Name is the name of the referenced ConfigMap
Expand Down Expand Up @@ -31294,7 +31292,6 @@ spec:
description: MountPoint is the filesystem path
where the volume will be mounted.
maxLength: 256
pattern: ^/[a-z]([a-z0-9\-]*[a-z0-9])?$
type: string
name:
description: Name is the name of the referenced
Expand Down Expand Up @@ -31332,7 +31329,6 @@ spec:
description: MountPoint is the filesystem path
where the volume will be mounted.
maxLength: 256
pattern: ^/[a-z]([a-z0-9\-]*[a-z0-9])?$
type: string
name:
description: Name is the name of the referenced
Expand Down

0 comments on commit 8c67ef4

Please sign in to comment.