-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Manage builtin-connectors as CRD #585
Conversation
@alpreu:Thanks for your contribution. For this PR, do we need to update docs? |
Please check if there is anything missing in this PR, I'm not that familiar with this codebase yet |
@alpreu:Thanks for providing doc info! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please resolve the failed unit test.
@freeznet, Could you also help take a look?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, but could you please provide a complete example of ConfigFieldDefinition
in this PR?
Besides that, will this PR introduces the ClusterConnectorCatalog
CRD or it will introduced in another PR? thanks.
@freeznet Yes, I will modify the sample. Regarding the |
364cc8d
This reverts commit 51e480f. # Conflicts: # go.mod # main.go # pkg/webhook/connectorcatalog_webhook.go
* Revert "Replace ConnectorCatalog.ConfigFieldDefinitions with SourceConfigFieldDefinitions and SinkConfigFieldDefinitions (#610)" This reverts commit 77d77e9. # Conflicts: # charts/function-mesh-operator/charts/admission-webhook/templates/crd-compute.functionmesh.io-connectorcatalogs.yaml * Revert "Manage builtin-connectors through ConnectorCatalog CRD (#585)" This reverts commit 51e480f. # Conflicts: # go.mod # main.go # pkg/webhook/connectorcatalog_webhook.go * revert changes * revert main.go * revert common.go
Master Issue: #566
Motivation
We want to start managing the available connectors in Function Mesh by providing a cluster-scoped CRD where users can provide their connector definitions. Different than the existing CRDs, the
ConnectorCatalog
CRD is only used to store connector metadata, there is no operator that will create pods etc.Modifications
Added a
ConnectorCatalog
CRD and webhook.Verifying this change
This change added tests and can be verified as follows:
Documentation
Check the box below.
Need to update docs?
doc-required
(If you need help on updating docs, create a doc issue)
no-need-doc
(Please explain why)
doc
(If this PR contains doc changes)
I believe this change (and the related ones in function-mesh-worker-service) will require updating the documentation on the function-mesh website.