Skip to content

Commit a0fecd1

Browse files
committed
Update LKE API docs to reflect actual behavior.
LKE does not impose ASCII-only restrictions on the label name. The only restrictions on the label are length and JSON validity.
1 parent 7a6ec79 commit a0fecd1

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

openapi.yaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15933,14 +15933,12 @@ components:
1593315933

1593415934
Labels have the following constraints:
1593515935

15936-
* Must start with an alpha character
15937-
* Must only consist of alphanumeric characters and dashes (`-`)
15938-
* Must not contain two dashes in a row
15939-
minLength: 3
15936+
* 4-byte UTF-8 characters are not supported.
15937+
* UTF-8 characters will be encoded in their byte representation.
15938+
* If the label is using UTF-8, the response will return the value
15939+
using up to 193 1 byte characters.
15940+
minLength: 1
1594015941
maxLength: 32
15941-
# Kubernetes does NOT allow underscores in resource names and we are
15942-
# passing this name to Kubernetes. Thus the following pattern:
15943-
pattern: '[a-zA-Z0-9-]{3, 32}'
1594415942
example: lkecluster12345
1594515943
region:
1594615944
type: string

0 commit comments

Comments
 (0)