Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions api/v1/clusterobjectset_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ type ClusterObjectSetPhase struct {
// +required
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=63
// +kubebuilder:validation:XValidation:rule=`!format.dns1123Label().validate(self).hasValue()`,message="the value must consist of only lowercase alphanumeric characters and hyphens, and must start with an alphabetic character and end with an alphanumeric character."
// +kubebuilder:validation:XValidation:rule=`!format.dns1123Label().validate(self).hasValue()`,message="the value must consist of only lowercase alphanumeric characters and hyphens, and must start and end with an alphanumeric character."
Name string `json:"name"`

// objects is a required list of all Kubernetes objects that belong to this phase.
Expand Down Expand Up @@ -532,7 +532,7 @@ type ObservedPhase struct {
// +required
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=63
// +kubebuilder:validation:XValidation:rule=`!format.dns1123Label().validate(self).hasValue()`,message="the value must consist of only lowercase alphanumeric characters and hyphens, and must start with an alphabetic character and end with an alphanumeric character."
// +kubebuilder:validation:XValidation:rule=`!format.dns1123Label().validate(self).hasValue()`,message="the value must consist of only lowercase alphanumeric characters and hyphens, and must start and end with an alphanumeric character."
Name string `json:"name"`

// digest is the digest of the phase's resolved object content
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ spec:
type: string
x-kubernetes-validations:
- message: the value must consist of only lowercase alphanumeric
characters and hyphens, and must start with an alphabetic
character and end with an alphanumeric character.
characters and hyphens, and must start and end with an alphanumeric
character.
rule: '!format.dns1123Label().validate(self).hasValue()'
objects:
description: |-
Expand Down Expand Up @@ -649,8 +649,8 @@ spec:
type: string
x-kubernetes-validations:
- message: the value must consist of only lowercase alphanumeric
characters and hyphens, and must start with an alphabetic
character and end with an alphanumeric character.
characters and hyphens, and must start and end with an alphanumeric
character.
rule: '!format.dns1123Label().validate(self).hasValue()'
required:
- digest
Expand Down
8 changes: 4 additions & 4 deletions manifests/experimental-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1474,8 +1474,8 @@ spec:
type: string
x-kubernetes-validations:
- message: the value must consist of only lowercase alphanumeric
characters and hyphens, and must start with an alphabetic
character and end with an alphanumeric character.
characters and hyphens, and must start and end with an alphanumeric
character.
rule: '!format.dns1123Label().validate(self).hasValue()'
objects:
description: |-
Expand Down Expand Up @@ -1973,8 +1973,8 @@ spec:
type: string
x-kubernetes-validations:
- message: the value must consist of only lowercase alphanumeric
characters and hyphens, and must start with an alphabetic
character and end with an alphanumeric character.
characters and hyphens, and must start and end with an alphanumeric
character.
rule: '!format.dns1123Label().validate(self).hasValue()'
required:
- digest
Expand Down
8 changes: 4 additions & 4 deletions manifests/experimental.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1435,8 +1435,8 @@ spec:
type: string
x-kubernetes-validations:
- message: the value must consist of only lowercase alphanumeric
characters and hyphens, and must start with an alphabetic
character and end with an alphanumeric character.
characters and hyphens, and must start and end with an alphanumeric
character.
rule: '!format.dns1123Label().validate(self).hasValue()'
objects:
description: |-
Expand Down Expand Up @@ -1934,8 +1934,8 @@ spec:
type: string
x-kubernetes-validations:
- message: the value must consist of only lowercase alphanumeric
characters and hyphens, and must start with an alphabetic
character and end with an alphanumeric character.
characters and hyphens, and must start and end with an alphanumeric
character.
rule: '!format.dns1123Label().validate(self).hasValue()'
required:
- digest
Expand Down
Loading