Closed Blokje5 closed 3 years ago
Based on #5 the Connection was left as a generic data holder, where the ConnectionType defines the required fields and potential validations on those fields. That way KubeETL remains agnostic of a specific Connection implementation (e.g. being aware of password authentication for MySQL).
As a next step we can implement a validating webhook for connections that dynamically validates the Connection based on the ConnectionType.
Closed by #6
A Connection captures all the relevant information to connect with a data source or sink. A connection can be referenced from a
DataSource
and should provide all the relevant information to the Task that uses theDataSource
. A proposal for aConnection
kind could be the following:Credentials from Secret:
(See the design docs for further info)
To implement this we need to set up the following:
Mostly the Connections will serve as metadata to be injected into Pipelines. However, we can add additional features such as Health checks. But this won't be in scope for the short term.