-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Description
To allow users to configure Kafka Connect in the Console CR, the CRD model, mapping process, and roles need to be updated in the operator module.
- Using
com.github.streamshub.console.config.KafkaConnectConfig(incommonmodule) as the basis, add aKafkaConnectclass to the operator'scom.github.streamshub.console.api.v1alpha1.specpackage and make a list of them configurable from theConsoleSpec. - Update the operator's
ConfigurationProcessorto map the model added above to the configuration model (incommon). This will likely be similar to what is done in theaddSchemaRegistriesmethod. - Update RBAC
- Update the role granted to the console in
/src/main/resources/com/github/streamshub/console/dependents/console.clusterrole.yamlto allowkafkaconnectsandkafkamirrormaker2sto for get/list/watch, similar to what was done in/install/operatorless/020-ClusterRole-console-server.yaml. - Update the operator's role in
operator/src/main/kubernetes/kubernetes.ymlin a similar way. TheClusterRoleto change isstreamshub-consolereconciler-additional-cluster-role. This allows the operator to delegate this access to the console deployments.
- Update the role granted to the console in
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels