Skip to content

Don't describe LKE Cluster label as optional #255

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

Conversation

0xch4z
Copy link
Contributor

@0xch4z 0xch4z commented May 4, 2020

If no label is provided, one will be assigned automatically.

This bit is inaccurate. If no label is provided, the API throws a Bad Request error.

❯ curl --location --request POST 'https://api.linode.com/v4/lke/clusters' \
	--header 'Content-Type: application/json' \
	--header "Authorization: Bearer $LINODE_API_TOKEN" \
	--data-raw '{
	    "k8s_version": "1.17",
	    "region": "us-east",
	    "node_pools": [
	        {
	            "type": "g6-standard-1",
	            "count": 1
	        }
	    ]
	}'
{"errors": [{"reason": "label is required", "field": "label"}]}

@leslitagordita leslitagordita self-requested a review May 4, 2020 20:08
@leslitagordita leslitagordita merged commit e4a86a9 into linode:development May 4, 2020
LBGarber pushed a commit to LBGarber/linode-api-docs that referenced this pull request Jun 15, 2022
LBGarber pushed a commit to LBGarber/linode-api-docs that referenced this pull request Jun 15, 2022
Merge Master back to Development - Release 1.1.37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants