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

feature: ResourceSelector based on labels #2921

Open
1 task done
mjudeikis opened this issue Mar 24, 2023 · 2 comments
Open
1 task done

feature: ResourceSelector based on labels #2921

mjudeikis opened this issue Mar 24, 2023 · 2 comments
Labels
area/apiexports kind/feature Categorizes issue or PR as related to a new feature.

Comments

@mjudeikis
Copy link
Contributor

mjudeikis commented Mar 24, 2023

Feature Description

When creating APIBindings/APIExports it would be great to be able select resources based on labels;

type ResourceSelector struct {
	Name string `json:"name,omitempty"`
	Namespace string `json:"namespace,omitempty"`
        MatchLabels: map[string]string{},
}

So in example we can filter object by labels and act only if users indent to by labels. ,objects

Proposed Solution

Extend ResourceSelector with labels

Alternative Solutions

No response

Want to contribute?

  • I would like to work on this issue.

Additional Context

No response

@mjudeikis mjudeikis added the kind/feature Categorizes issue or PR as related to a new feature. label Mar 24, 2023
@ncdc
Copy link
Member

ncdc commented Mar 27, 2023

FYI @nrb

@nrb
Copy link
Contributor

nrb commented Mar 27, 2023

Will add this as a task to #1937

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/apiexports kind/feature Categorizes issue or PR as related to a new feature.
Projects
Status: Backlog
Development

No branches or pull requests

4 participants