Skip to content

Commit 1113537

Browse files
committed
Address Copilot remarks
1 parent 356b9b5 commit 1113537

3 files changed

Lines changed: 303 additions & 266 deletions

File tree

test/integration/fixtures/TestLKECluster_Enterprise_BYOVPC_smoke.yaml

Lines changed: 33 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,17 @@ interactions:
1414
url: https://api.linode.com/v4beta/lke/tiers/enterprise/versions?page=1
1515
method: GET
1616
response:
17-
body: '{"data": [{"id": "v1.32.9+lke2", "tier": "enterprise"}, {"id": "v1.31.9+lke7",
18-
"tier": "enterprise"}], "page": 1, "pages": 1, "results": 2}'
17+
body: '{"data": [{"id": "v1.33.6+lke7", "tier": "enterprise"}, {"id": "v1.33.6+lke6",
18+
"tier": "enterprise"}, {"id": "v1.32.9+lke4", "tier": "enterprise"}, {"id":
19+
"v1.32.9+lke2", "tier": "enterprise"}, {"id": "v1.32.8+lke13", "tier": "enterprise"},
20+
{"id": "v1.32.8+lke12", "tier": "enterprise"}, {"id": "v1.32.8+lke10", "tier":
21+
"enterprise"}, {"id": "v1.31.9+lke7", "tier": "enterprise"}, {"id": "v1.31.9+lke6",
22+
"tier": "enterprise"}, {"id": "v1.31.9+lke5", "tier": "enterprise"}, {"id":
23+
"v1.31.8+lke5", "tier": "enterprise"}, {"id": "v1.31.8+lke3", "tier": "enterprise"},
24+
{"id": "v1.31.8+lke1", "tier": "enterprise"}, {"id": "v1.31.6+lke3", "tier":
25+
"enterprise"}, {"id": "v1.31.6+lke2", "tier": "enterprise"}, {"id": "v1.31.1+lke4",
26+
"tier": "enterprise"}, {"id": "v1.31.1+lke1", "tier": "enterprise"}, {"id":
27+
"v1.29.4+lke1", "tier": "enterprise"}], "page": 1, "pages": 1, "results": 18}'
1928
headers:
2029
Access-Control-Allow-Credentials:
2130
- "true"
@@ -33,21 +42,20 @@ interactions:
3342
- max-age=0, no-cache, no-store
3443
Connection:
3544
- keep-alive
36-
Content-Length:
37-
- "139"
3845
Content-Security-Policy:
3946
- default-src 'none'
4047
Content-Type:
4148
- application/json
4249
Expires:
43-
- Tue, 26 May 2026 11:44:56 GMT
50+
- Tue, 02 Jun 2026 10:03:27 GMT
4451
Pragma:
4552
- no-cache
4653
Strict-Transport-Security:
4754
- max-age=31536000
4855
Vary:
4956
- Authorization, X-Filter
5057
- Authorization, X-Filter
58+
- Accept-Encoding
5159
X-Accepted-Oauth-Scopes:
5260
- lke:read_only
5361
X-Content-Type-Options:
@@ -63,7 +71,7 @@ interactions:
6371
code: 200
6472
duration: ""
6573
- request:
66-
body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"],"labels":null,"taints":null}],"label":"go-test-def","region":"gb-lon","k8s_version":"v1.32.9+lke2","tags":["testing"],"tier":"enterprise","vpc_id":498061,"stack_type":"ipv4-ipv6"}'
74+
body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"],"labels":null,"taints":null}],"label":"go-test-def","region":"es-mad","k8s_version":"v1.33.6+lke7","tags":["testing"],"tier":"enterprise","vpc_id":505334,"stack_type":"ipv4-ipv6"}'
6775
form: {}
6876
headers:
6977
Accept:
@@ -75,11 +83,12 @@ interactions:
7583
url: https://api.linode.com/v4beta/lke/clusters
7684
method: POST
7785
response:
78-
body: '{"id": 607988, "status": "ready", "created": "2018-01-02T03:04:05", "updated":
79-
"2018-01-02T03:04:05", "label": "go-test-def", "region": "gb-lon", "k8s_version":
80-
"v1.32.9+lke2", "tier": "enterprise", "control_plane": {"high_availability":
81-
true}, "apl_enabled": false, "vpc_id": 498061, "subnet_id": null, "tags": ["testing"],
82-
"stack_type": "ipv4-ipv6", "locks": []}'
86+
body: '{"id": 611915, "status": "ready", "created": "2018-01-02T03:04:05", "updated":
87+
"2018-01-02T03:04:05", "label": "go-test-def", "region": "es-mad", "k8s_version":
88+
"v1.33.6+lke7", "tier": "enterprise", "control_plane": {"high_availability":
89+
true, "audit_logs_enabled": false}, "apl_enabled": false, "vpc_id": 505334,
90+
"subnet_id": null, "tags": ["testing"], "stack_type": "ipv4-ipv6", "locks":
91+
[]}'
8392
headers:
8493
Access-Control-Allow-Credentials:
8594
- "true"
@@ -98,13 +107,13 @@ interactions:
98107
Connection:
99108
- keep-alive
100109
Content-Length:
101-
- "364"
110+
- "393"
102111
Content-Security-Policy:
103112
- default-src 'none'
104113
Content-Type:
105114
- application/json
106115
Expires:
107-
- Tue, 26 May 2026 11:45:01 GMT
116+
- Tue, 02 Jun 2026 10:03:34 GMT
108117
Pragma:
109118
- no-cache
110119
Strict-Transport-Security:
@@ -137,14 +146,15 @@ interactions:
137146
- application/json
138147
User-Agent:
139148
- linodego/dev https://github.com/linode/linodego
140-
url: https://api.linode.com/v4beta/lke/clusters/607988
149+
url: https://api.linode.com/v4beta/lke/clusters/611915
141150
method: GET
142151
response:
143-
body: '{"id": 607988, "status": "ready", "created": "2018-01-02T03:04:05", "updated":
144-
"2018-01-02T03:04:05", "label": "go-test-def", "region": "gb-lon", "k8s_version":
145-
"v1.32.9+lke2", "tier": "enterprise", "control_plane": {"high_availability":
146-
true}, "apl_enabled": false, "vpc_id": 498061, "subnet_id": null, "tags": ["testing"],
147-
"stack_type": "ipv4-ipv6", "locks": []}'
152+
body: '{"id": 611915, "status": "ready", "created": "2018-01-02T03:04:05", "updated":
153+
"2018-01-02T03:04:05", "label": "go-test-def", "region": "es-mad", "k8s_version":
154+
"v1.33.6+lke7", "tier": "enterprise", "control_plane": {"high_availability":
155+
true, "audit_logs_enabled": false}, "apl_enabled": false, "vpc_id": 505334,
156+
"subnet_id": null, "tags": ["testing"], "stack_type": "ipv4-ipv6", "locks":
157+
[]}'
148158
headers:
149159
Access-Control-Allow-Credentials:
150160
- "true"
@@ -163,13 +173,13 @@ interactions:
163173
Connection:
164174
- keep-alive
165175
Content-Length:
166-
- "364"
176+
- "393"
167177
Content-Security-Policy:
168178
- default-src 'none'
169179
Content-Type:
170180
- application/json
171181
Expires:
172-
- Tue, 26 May 2026 11:45:01 GMT
182+
- Tue, 02 Jun 2026 10:03:34 GMT
173183
Pragma:
174184
- no-cache
175185
Strict-Transport-Security:
@@ -203,7 +213,7 @@ interactions:
203213
- application/json
204214
User-Agent:
205215
- linodego/dev https://github.com/linode/linodego
206-
url: https://api.linode.com/v4beta/lke/clusters/607988
216+
url: https://api.linode.com/v4beta/lke/clusters/611915
207217
method: DELETE
208218
response:
209219
body: '{}'
@@ -231,7 +241,7 @@ interactions:
231241
Content-Type:
232242
- application/json
233243
Expires:
234-
- Tue, 26 May 2026 11:45:04 GMT
244+
- Tue, 02 Jun 2026 10:03:36 GMT
235245
Pragma:
236246
- no-cache
237247
Strict-Transport-Security:

0 commit comments

Comments
 (0)