-
Notifications
You must be signed in to change notification settings - Fork 18
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
Diffing: RPC PermissionDenied #191
Comments
Interesting! The "permission denied" should be resolved with #187 , and will be released shortly. The second issue (modifications look like creations) is strange. does the "myapp" app exist in argocd already, and is functional? if it's in git but not yet in the cluster, that would explain why kubechecks thinks you're creating the resources. otherwise there's something else we need to track down here. anything interesting going on with that app? |
I identified the root cause. We use the "Applications in any namespace" feature. A team could deploy an Argo Application in their namespace and then it get synced to argo. This causes Kubechecks to always say that any modifications are "added" even when something is modified or deleted. I started to move the applications into the argocd namespace and it's running fine now Example - Not working (App Manifest in team ns)
Example - Working (Application manifest in argocd ns)
|
Ah! ok, that makes sense. Let me see if there's a quick fix to that |
Using a docker image >= v1.5.3 I get following issue during the argo diff operation
The token used to connect to my argocd installation has admin permissions and the debug log doesn't provide any more info on that topic.
PS: Images older than v1.5.3 can run the diff but always detect "created" instead of "modified". For example when changing replica counts in plain manifests.
The text was updated successfully, but these errors were encountered: