clusterpedia icon indicating copy to clipboard operation
clusterpedia copied to clipboard

[resource sync] support exclude resources

Open big-appled opened this issue 2 years ago • 2 comments

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 avatar Dec 04 '23 09:12 big-appled

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.

clusterpedia-bot avatar Dec 04 '23 09:12 clusterpedia-bot

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

KubeKyrie avatar Dec 08 '23 02:12 KubeKyrie