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

Watch only labelled groups #1

Open
larsks opened this issue Jun 19, 2022 · 0 comments
Open

Watch only labelled groups #1

larsks opened this issue Jun 19, 2022 · 0 comments

Comments

@larsks
Copy link
Owner

larsks commented Jun 19, 2022

Currently, the controller watches all Group resources, and then iterates through them to find groups that have the github.oddbit.com/sync label. It would be better if we could limit the controller to watch only those groups with the given label. It's not clear that this is possible with the operator sdk. There was support for this added to controller-runtime in kubernetes-sigs/controller-runtime#1435, but I'm not sure if this is exposed in the operator sdk.

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

No branches or pull requests

1 participant