Skip to content

[Update] lke/clusters PUT and lke/cluster POST to reflect actual behavior #289

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 13, 2020
Merged
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
19 changes: 12 additions & 7 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16010,14 +16010,19 @@ components:

Labels have the following constraints:

* Must start with an alpha character
* Must only consist of alphanumeric characters and dashes (`-`)
* Must not contain two dashes in a row
minLength: 3
* UTF-8 characters will be returned by the API using escape
sequences of their Unicode code points. For example, the
Japanese character *か* is 3 bytes in UTF-8 (`0xE382AB`). Its
Unicode code point is 2 bytes (`0x30AB`). APIv4 supports this
character and the API will return it as the escape sequence
using six 1 byte characters which represent 2 bytes of Unicode
code point (`"\u30ab"`).
* 4 byte UTF-8 characters are not supported.
* If the label is entirely composed of UTF-8 characters, the API
response will return the code points using up to 193 1 byte
characters.
minLength: 1
maxLength: 32
# Kubernetes does NOT allow underscores in resource names and we are
# passing this name to Kubernetes. Thus the following pattern:
pattern: '[a-zA-Z0-9-]{3, 32}'
x-linode-cli-display: 2
example: lkecluster12345
region:
Expand Down