-
Notifications
You must be signed in to change notification settings - Fork 120
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
Pediacluster support filter roles when sync resources #272
Comments
Is this done to avoid sensitive resources being synced to the clusterpedia, or is there another purpose? |
We have three clusters now and the workload name is different and namespace is same. |
I have a few questions:
Of course I don't have a proper reason to oppose this feature, but it might make users confused about not retrieving resources in certain namespaces. |
Two reasons |
I think we can implement this in 0.5. To implement this we add a field in PediaCluster - apiVersion: cluster.clusterpedia.io/v1alpha1
kind: PediaClusteer
metadata:
name: example
spec:
syncResources:
- group: ""
resources:
- "pods"
ignoredNamespaces:
- "kube-system" Global settings, not specific to a resource, What do you think? |
Yeah, we can make it optional |
/assign |
I have a question, what should we handle if the resource is cluster resource? |
Sometimes we may have turned on collecting all Crd resources, which may contain cluster resources. |
Maybe we can pending the issue if we do not find the best scheme |
What would you like to be added?
We want pediacluster support filter rules when sync resources
Why is this needed?
We want skip some namepace when resource syncd like kube-system
The text was updated successfully, but these errors were encountered: