-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Support resource filtering in Application controller #1010
Comments
Note: if api extension server is down then discovery api does not work as well. We will have to stop using |
Luckily the
I actually feel this is a bit contrived use case and I don't think we need to do anything here.
Can we make the datastructure more similar to K8s RBAC rules where groups/kinds are a list? Examples:
|
I don't think this is a contrived example. At my org, we want to use ArgoCD within namespaces that opt in. This is for security reasons, so that we can ensure that ArgoCD cannot be used to manipulate any cluster resources or namespaced resources outside the intended namespace. I'd like to see namespace-based inclusion/exclusion rules supported. |
I agree. @jessesuen, creating a ticket to support it unless you have strong objections. |
There are some cases when users don't want Argo CD to touch some cluster resources:
It would be useful to support application controller configuration which allows excluding some resources.
I would propose to add
excludedResources
settings toargocd-cm
with the following fields:group
,kind
- excluded resource group and kind ( should support wildcard matching )scope
- optional field which takes on of following values:any
,namespaced
,cluster-wide
clusterURL
- optional field to narrow filtering to a single clusterExample:
The text was updated successfully, but these errors were encountered: