File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -15933,14 +15933,19 @@ components:
15933
15933
15934
15934
Labels have the following constraints:
15935
15935
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
+ * UTF-8 characters will be returned by the API using escape
15937
+ sequences of their Unicode code points. As an example, the
15938
+ Japanese character 'か' is 3 bytes in UTF-8 (0xE382AB). Its
15939
+ Unicode code point is 2 bytes (0x30AB). APIv4 supports this
15940
+ character and the API will return it as the escape sequence
15941
+ using six 1 byte characters which represent 2 bytes of Unicode
15942
+ code point ("\u30ab").
15943
+ * 4 byte UTF-8 characters are not supported.
15944
+ * If the label is entirely composed of UTF-8 characters, the API
15945
+ response will return the code points using up to 193 1 byte
15946
+ characters.
15947
+ minLength: 1
15940
15948
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}'
15944
15949
example: lkecluster12345
15945
15950
region:
15946
15951
type: string
You can’t perform that action at this time.
0 commit comments