Skip to content

Commit bcb8291

Browse files
Merge pull request #287 from hzoppetti/lke-endpoint-fix-1
[Update] LKE Endpoints Improvements
2 parents 00aa7ad + 6b5539d commit bcb8291

File tree

1 file changed

+38
-56
lines changed

1 file changed

+38
-56
lines changed

openapi.yaml

Lines changed: 38 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -6241,13 +6241,19 @@ paths:
62416241
- region
62426242
- k8s_version
62436243
- node_pools
6244-
allOf:
6245-
- $ref: '#/components/schemas/LKEClusterRequestBody'
6246-
- properties:
6247-
node_pools:
6248-
type: array
6249-
items:
6250-
$ref: '#/components/schemas/LKENodePoolRequestBody'
6244+
properties:
6245+
label:
6246+
$ref: '#/components/schemas/LKECluster/properties/label'
6247+
region:
6248+
$ref: '#/components/schemas/LKECluster/properties/region'
6249+
k8s_version:
6250+
$ref: '#/components/schemas/LKECluster/properties/k8s_version'
6251+
tags:
6252+
$ref: '#/components/schemas/LKECluster/properties/tags'
6253+
node_pools:
6254+
type: array
6255+
items:
6256+
$ref: '#/components/schemas/LKENodePoolRequestBody'
62516257
responses:
62526258
'200':
62536259
description: Kubernetes cluster creation has started.
@@ -6351,7 +6357,7 @@ paths:
63516357
schema:
63526358
properties:
63536359
label:
6354-
$ref: '#/components/schemas/LKEClusterRequestBody/properties/label'
6360+
$ref: '#/components/schemas/LKECluster/properties/label'
63556361
tags:
63566362
type: array
63576363
items:
@@ -6374,7 +6380,6 @@ paths:
63746380
label:
63756381
$ref: '#/components/schemas/LKECluster/properties/label'
63766382
tags:
6377-
x-linode-filterable: true
63786383
type: array
63796384
items:
63806385
type: string
@@ -15976,10 +15981,28 @@ components:
1597615981
The number of GPUs this Linode Type offers.
1597715982
example: 0
1597815983
x-linode-cli-display: 11
15979-
LKEClusterRequestBody:
15984+
LKECluster:
1598015985
type: object
1598115986
description: A Kubernetes cluster.
1598215987
properties:
15988+
id:
15989+
type: integer
15990+
description: This Kubernetes cluster's unique ID.
15991+
readOnly: true
15992+
x-linode-cli-display: 1
15993+
example: 1234
15994+
created:
15995+
type: string
15996+
format: date-time
15997+
description: When this Kubernetes cluster was created.
15998+
example: "2019-09-12T21:25:30Z"
15999+
readOnly: true
16000+
updated:
16001+
type: string
16002+
format: date-time
16003+
description: When this Kubernetes cluster was updated.
16004+
example: "2019-09-13T21:24:16Z"
16005+
readOnly: true
1598316006
label:
1598416007
type: string
1598516008
description: >
@@ -15995,10 +16018,12 @@ components:
1599516018
# Kubernetes does NOT allow underscores in resource names and we are
1599616019
# passing this name to Kubernetes. Thus the following pattern:
1599716020
pattern: '[a-zA-Z0-9-]{3, 32}'
16021+
x-linode-cli-display: 2
1599816022
example: lkecluster12345
1599916023
region:
1600016024
type: string
1600116025
description: This Kubernetes cluster's location.
16026+
x-linode-cli-display: 3
1600216027
example: us-central
1600316028
k8s_version:
1600416029
type: string
@@ -16007,59 +16032,16 @@ components:
1600716032
and the latest supported patch version will be deployed.
1600816033
example: "1.16"
1600916034
tags:
16035+
x-linode-filterable: true
1601016036
type: array
1601116037
description: >
16012-
An array of tags applied to the Kubernetes cluster. Tags are for organizational purposes only.
16038+
An array of tags applied to the Kubernetes cluster.
16039+
Tags are for organizational purposes only.
1601316040
items:
1601416041
type: string
1601516042
example:
1601616043
- ecomm
1601716044
- blogs
16018-
required:
16019-
- label
16020-
- region
16021-
- k8s_version
16022-
LKECluster:
16023-
type: object
16024-
# Note that LKECluster inherits all properties of
16025-
# LKEClusterRequestBody and then overrides some of the sub-properties
16026-
allOf:
16027-
- $ref: '#/components/schemas/LKEClusterRequestBody'
16028-
properties:
16029-
id:
16030-
type: integer
16031-
description: This Kubernetes cluster's unique ID.
16032-
readOnly: true
16033-
x-linode-cli-display: 1
16034-
example: 1234
16035-
created:
16036-
type: string
16037-
format: date-time
16038-
description: When this Kubernetes cluster was created.
16039-
example: "2019-09-12T21:25:30Z"
16040-
readOnly: true
16041-
updated:
16042-
type: string
16043-
format: date-time
16044-
description: When this Kubernetes cluster was updated.
16045-
example: "2019-09-13T21:24:16Z"
16046-
readOnly: true
16047-
# Note that these properties override some of the sub-properties from
16048-
# LKEClusterRequestBody but otherwise inherit all of the original
16049-
# sub-properties.
16050-
label:
16051-
x-linode-cli-display: 2
16052-
example: lkecluster12345
16053-
region:
16054-
readOnly: true
16055-
x-linode-cli-display: 3
16056-
example: us-central
16057-
k8s_version:
16058-
example: "1.16"
16059-
tags:
16060-
example:
16061-
- ecomm
16062-
- blogs
1606316045
LKENodePoolRequestBody:
1606416046
type: object
1606516047
description: >

0 commit comments

Comments
 (0)