Skip to content

Commit 8bd6bcd

Browse files
committed
HYPERFLEET-1075 - docs: Clarify force-delete is
database-only
1 parent 9434956 commit 8bd6bcd

6 files changed

Lines changed: 32 additions & 24 deletions

File tree

schemas/core/openapi.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,8 @@ paths:
245245
operationId: forceDeleteCluster
246246
summary: Force-delete a cluster
247247
description: |-
248-
Permanently removes a cluster that is stuck in Finalizing state.
249-
Requires a reason for audit purposes.
248+
Permanently removes the cluster record from the database for a cluster stuck in Finalizing state.
249+
This is a database-only operation. Requires a reason for audit purposes.
250250
parameters:
251251
- name: cluster_id
252252
in: path
@@ -535,8 +535,8 @@ paths:
535535
operationId: forceDeleteNodePool
536536
summary: Force-delete a nodepool
537537
description: |-
538-
Permanently removes a nodepool that is stuck in Finalizing state.
539-
Requires a reason for audit purposes.
538+
Permanently removes the nodepool record from the database for a nodepool stuck in Finalizing state.
539+
This is a database-only operation. Requires a reason for audit purposes.
540540
parameters:
541541
- name: cluster_id
542542
in: path

schemas/core/swagger.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -327,9 +327,11 @@ paths:
327327
- BearerAuth: []
328328
tags:
329329
- Clusters
330-
description: |-
331-
Permanently removes a cluster that is stuck in Finalizing state.
332-
Requires a reason for audit purposes.
330+
description: >-
331+
Permanently removes the cluster record from the database for a cluster
332+
stuck in Finalizing state.
333+
334+
This is a database-only operation. Requires a reason for audit purposes.
333335
operationId: forceDeleteCluster
334336
summary: Force-delete a cluster
335337
'/api/hyperfleet/v1/clusters/{cluster_id}/nodepools':
@@ -654,9 +656,11 @@ paths:
654656
- BearerAuth: []
655657
tags:
656658
- NodePools
657-
description: |-
658-
Permanently removes a nodepool that is stuck in Finalizing state.
659-
Requires a reason for audit purposes.
659+
description: >-
660+
Permanently removes the nodepool record from the database for a nodepool
661+
stuck in Finalizing state.
662+
663+
This is a database-only operation. Requires a reason for audit purposes.
660664
operationId: forceDeleteNodePool
661665
summary: Force-delete a nodepool
662666
'/api/hyperfleet/v1/clusters/{cluster_id}/nodepools/{nodepool_id}/statuses':

schemas/gcp/openapi.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,8 @@ paths:
264264
operationId: forceDeleteCluster
265265
summary: Force-delete a cluster
266266
description: |-
267-
Permanently removes a cluster that is stuck in Finalizing state.
268-
Requires a reason for audit purposes.
267+
Permanently removes the cluster record from the database for a cluster stuck in Finalizing state.
268+
This is a database-only operation. Requires a reason for audit purposes.
269269
parameters:
270270
- name: cluster_id
271271
in: path
@@ -573,8 +573,8 @@ paths:
573573
operationId: forceDeleteNodePool
574574
summary: Force-delete a nodepool
575575
description: |-
576-
Permanently removes a nodepool that is stuck in Finalizing state.
577-
Requires a reason for audit purposes.
576+
Permanently removes the nodepool record from the database for a nodepool stuck in Finalizing state.
577+
This is a database-only operation. Requires a reason for audit purposes.
578578
parameters:
579579
- name: cluster_id
580580
in: path

schemas/gcp/swagger.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -347,9 +347,11 @@ paths:
347347
- BearerAuth: []
348348
tags:
349349
- Clusters
350-
description: |-
351-
Permanently removes a cluster that is stuck in Finalizing state.
352-
Requires a reason for audit purposes.
350+
description: >-
351+
Permanently removes the cluster record from the database for a cluster
352+
stuck in Finalizing state.
353+
354+
This is a database-only operation. Requires a reason for audit purposes.
353355
operationId: forceDeleteCluster
354356
summary: Force-delete a cluster
355357
'/api/hyperfleet/v1/clusters/{cluster_id}/nodepools':
@@ -693,9 +695,11 @@ paths:
693695
- BearerAuth: []
694696
tags:
695697
- NodePools
696-
description: |-
697-
Permanently removes a nodepool that is stuck in Finalizing state.
698-
Requires a reason for audit purposes.
698+
description: >-
699+
Permanently removes the nodepool record from the database for a nodepool
700+
stuck in Finalizing state.
701+
702+
This is a database-only operation. Requires a reason for audit purposes.
699703
operationId: forceDeleteNodePool
700704
summary: Force-delete a nodepool
701705
'/api/hyperfleet/v1/clusters/{cluster_id}/nodepools/{nodepool_id}/statuses':

services/clusters.tsp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ interface Clusters {
9191
| BadRequestResponse;
9292

9393
/**
94-
* Permanently removes a cluster that is stuck in Finalizing state.
95-
* Requires a reason for audit purposes.
94+
* Permanently removes the cluster record from the database for a cluster stuck in Finalizing state.
95+
* This is a database-only operation. Requires a reason for audit purposes.
9696
*/
9797
@route("/{cluster_id}/force-delete")
9898
@post

services/nodepools.tsp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ interface NodePools {
9696
| BadRequestResponse;
9797

9898
/**
99-
* Permanently removes a nodepool that is stuck in Finalizing state.
100-
* Requires a reason for audit purposes.
99+
* Permanently removes the nodepool record from the database for a nodepool stuck in Finalizing state.
100+
* This is a database-only operation. Requires a reason for audit purposes.
101101
*/
102102
@route("/clusters/{cluster_id}/nodepools/{nodepool_id}/force-delete")
103103
@post

0 commit comments

Comments
 (0)