Skip to content

Commit

Permalink
Merge branch 'develop-tmp-jiuzhu' into 'develop-tmp'
Browse files Browse the repository at this point in the history
update k8s master, change LabelValueMaxLength to 127



See merge request !184531
  • Loading branch information
furykerry committed Dec 4, 2018
2 parents d4694ac + 5d05079 commit 07786e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func IsFullyQualifiedName(fldPath *field.Path, name string) field.ErrorList {

const labelValueFmt string = "(" + qualifiedNameFmt + ")?"
const labelValueErrMsg string = "a valid label must be an empty string or consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character"
const LabelValueMaxLength int = 63
const LabelValueMaxLength int = 127

var labelValueRegexp = regexp.MustCompile("^" + labelValueFmt + "$")

Expand Down

0 comments on commit 07786e2

Please sign in to comment.