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

Feat: support multi cluster for source watcher #28

Merged
merged 1 commit into from
Feb 8, 2023

Conversation

FogDong
Copy link
Member

@FogDong FogDong commented Feb 7, 2023

Signed-off-by: FogDong dongtianxin.tx@alibaba-inc.com

Description of your changes

Fixes #

I have:

  • Read and followed KubeVela's contribution process.
  • Add related tests.
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

Special notes for your reviewer

Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
return nil, err
}
if len(clusters) == 0 {
req, err := labels.NewRequirement(clusterLabel, selection.Exists, nil)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this mean it requires cluster-gateway to function?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It requires a cluster-gateway typed X509 secret but does not need a cluster-gateway. This is a temporary implementation.

@Somefive Somefive merged commit d32f929 into kubevela:main Feb 8, 2023
@FogDong
Copy link
Member Author

FogDong commented Feb 8, 2023

Will refactor this implementation to an interface and make cluster-gateway a default solution.

semmet95 pushed a commit to semmet95/kube-trigger that referenced this pull request May 10, 2023
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
Signed-off-by: Amit Singh <singhamitch@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants