Skip to content

Commit 20b8eca

Browse files
committed
Cleaned up LKE Cluster Create endpoint
The CLI didn't like how the spec was formatted initially, and I'm pretty sure it was wrong. This works with the linked CLI PR, but please verify it looks good in the docs - I'm happy to work with someone to get this into a mergable state.
1 parent f0df0ac commit 20b8eca

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

openapi.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6050,10 +6050,6 @@ paths:
60506050
- node_pools
60516051
allOf:
60526052
- $ref: '#/components/schemas/LKEClusterRequestBody'
6053-
properties:
6054-
node_pools:
6055-
allOf:
6056-
- $ref: '#/components/schemas/LKENodePoolRequestBody'
60576053
responses:
60586054
'200':
60596055
description: Kubernetes cluster creation has started.
@@ -15572,6 +15568,10 @@ components:
1557215568
example:
1557315569
- ecomm
1557415570
- blogs
15571+
node_pools:
15572+
type: array
15573+
items:
15574+
$ref: '#/components/schemas/LKENodePoolRequestBody'
1557515575
required:
1557615576
- label
1557715577
- region
@@ -15628,6 +15628,7 @@ components:
1562815628
cluster.
1562915629
properties:
1563015630
type:
15631+
type: string
1563115632
description: A Linode Type for all of the nodes in the Node Pool.
1563215633
example: "g6-standard-4"
1563315634
count:

0 commit comments

Comments
 (0)