Skip to content
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

Replace ConnectorCatalog.ConfigFieldDefinitions with SourceConfigFieldDefinitions and SinkConfigFieldDefinitions #610

Merged
merged 1 commit into from
Mar 13, 2023

Conversation

alpreu
Copy link
Contributor

@alpreu alpreu commented Mar 13, 2023

Fixes #609

Motivation

The config field definitions need to be separate for connectors that define both source and sink interfaces.

Modifications

Separated the configFieldDefinitions into parameters for source and sink separately.

Verifying this change

  • Make sure that the change passes the CI checks.

This change is a trivial rework / code cleanup without any test coverage.

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)

…dDefinitions and SinkConfigFieldDefinitions
@alpreu alpreu requested review from nlu90, freeznet and a team as code owners March 13, 2023 13:06
@github-actions github-actions bot added the no-need-doc This pr does not need any document label Mar 13, 2023
@freeznet freeznet merged commit 77d77e9 into master Mar 13, 2023
@freeznet freeznet deleted the connectorcatalog-separate-source-sink-config branch March 13, 2023 15:59
freeznet added a commit that referenced this pull request Aug 3, 2023
…nfigFieldDefinitions and SinkConfigFieldDefinitions (#610)"

This reverts commit 77d77e9.

# Conflicts:
#	charts/function-mesh-operator/charts/admission-webhook/templates/crd-compute.functionmesh.io-connectorcatalogs.yaml
nlu90 pushed a commit that referenced this pull request Aug 9, 2023
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
m/2023-03 no-need-doc This pr does not need any document
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ConnectorCatalog CRD should have separate ConfigFieldDefinitions for source and sink
2 participants