kyma-incubator / reconciler

Kyma reconciler
Apache License 2.0
10 stars 67 forks source link

Administrate reconciler remotely via CLI using REST API #115

Closed tobiscr closed 3 years ago

tobiscr commented 3 years ago

Description

The reconciler has to support remote administration via the CLI. The communication between the CLI and the mothership-reconciler has to be handled via an REST API.

The REST API has to be specified using OpenAPI specification (e.g. Swagger, see #116), support a secure and trusted communication (HTTPS) and be integrated into the SAP SSO solution (ORY?). Any user-action triggered by a client has to be recorded in an audit log.

AC:

  1. Show reconciliation runs of a cluster
  2. Show details of a reconciliation run (start time, end-time, reported progress of the component-reconcilers)
  3. Show details of reconcilation output created for a particular component (requires integration with logging-system from SRE?)
  4. Disable the reconciliation of a cluster (either for a particular time range or endless) / Enable the reconciliation of a cluster if ti was disabled - https://github.com/kyma-incubator/reconciler/issues/188

Reasons

Establish a standardised tooling to control and administrate the mothership reconciler which fulfils security requirements and is integrated with the SAP SSO system.

Attachments

kwiatekus commented 3 years ago

After an interview with SRE representatives we see that the following should be part of the MVP:

clebs commented 3 years ago

HI team, the delete feature (#200) added the following states to the external API for the reconciler: https://github.com/kyma-incubator/reconciler/blob/cd630f8a9d59ea9c84c463998712307ceded30e1/openapi/external_api.yaml#L412-L415