You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SREP-21: backplane API is now returning a remediation instance id when calling createRemediation; this id will be used in place of the remediation name at deleteRemediation time.
This will allow backplane to have several remediations with the same name in parallel without mixing up the resources created on the target cluster.
Copy file name to clipboardExpand all lines: openapi/openapi.yaml
+20-9Lines changed: 20 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -95,21 +95,21 @@ paths:
95
95
- *cluster-id-param
96
96
post:
97
97
operationId: createRemediation
98
-
summary: Creates service account and RBAC for remediation
98
+
summary: Instantiates a new remediation instance & creates the service account (SA) and RBAC on the target cluster used by that instance
99
99
parameters:
100
-
- name: remediation
100
+
- name: remediationName
101
101
in: query
102
-
description: The name of a remediation for which RBAC should be created
102
+
description: The name of a remediation which must be instantiated
103
103
required: true
104
104
schema:
105
105
type: string
106
106
responses:
107
107
200:
108
-
description: Returns a LoginResponse with the uri to proxy for
108
+
description: Returns a RemediationLoginResponse with the uri to use to proxy oc commands; the response also contains the id to use to delete the remediation instance
0 commit comments