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

[resource sync] support exclude resources #611

Open
big-appled opened this issue Dec 4, 2023 · 2 comments · May be fixed by #617
Open

[resource sync] support exclude resources #611

big-appled opened this issue Dec 4, 2023 · 2 comments · May be fixed by #617
Labels
kind/feature New feature

Comments

@big-appled
Copy link

big-appled commented Dec 4, 2023

What would you like to be added?

In the pediacluster spec, we can be able to configure excluded resources, to exlcude some kinds of resources.

For examples,

spec.
   excludedResources:
      - group: 'examples.test.io'
        resources:
          - '*'

Why is this needed?

For CRD resources, they are different in different clusters. If we want to watch all CRDs resources except one, it is impossible to find a proper expression in current filters. So we need an excluded expression to filter out it.

@big-appled big-appled added the kind/feature New feature label Dec 4, 2023
@clusterpedia-bot
Copy link

Hi @big-appled,
Thanks for opening an issue!
We will look into it as soon as possible.

Details

Instructions for interacting with me using comments are available here.
If you have questions or suggestions related to my behavior, please file an issue against the gh-ci-bot repository.

@KubeKyrie
Copy link
Contributor

OK. Good proposal. I am glad to develop this new feature.

@KubeKyrie KubeKyrie linked a pull request Dec 14, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants