Determine if the value
matches the matcher
.
The matching rules are as follows:
matcher
is a string, value
and matcher
must be equal (===).matcher
is a regular expression, value
must match the regular expression according to RegExp.test().matcher
is provided, any value
matches.String to match
String or RegExp to match against
true
if it is a match, false
otherwise
Ensure the provided name is a valid Kubernetes resouce name. The
validation regular expression for a resource is
/^[a-z]([-a-z0-9]*[a-z0-9])?$/
and it must be between 1 and 63
characters long.
The resource name
A valid resource name based on the input
Generated using TypeDoc
If removing invalid characters from the name results in an empty string, this value is used as the name. You do not want more than one application per namespace to end up using this.