-
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
Undetected diffs when adding a key in the live manifest from the UI #16092
Comments
Im seeing the same behaviour. When I add extra stuff to my kubernetes resource (a service in my case) through the UI (in my case straight through the OpenShift web UI), ArgoCD does not detect the diff. This seems to be quite dangerous cause it basically breaks the GitOps paradigm does not it?
|
Hi all, Looks like the issue is related to this configuration:
As soon as i remove it, the diffs are detected as expected. |
Hi all,
Finally it's worse, I tested on my local cluster the key deletion by git to the configmap and the status didn't change to |
Running into the same with configmaps & deployments. if values are live changed, server does no detect the diff. refresh & hard refresh do nothing. no logs in any of the pods. interestingly, changes once pushed to git will show as a diff in the cluster k8s:
argocd:
|
Running into same issue. |
ArgoCD versions 2.10 and below have reached EOL. Can you upgrade and let us know if the issue is still present, please? |
Running into same issue. |
After upgrading from v2.11.3+3f344d5 to v2.12.0+ec30a48, the issue still persists. argocd |
Seems the behavior is expected :/ I'm using stable version and nothing changed it but that being said, the behavior is as expected, I hope argo add the feature, it would be a big win |
Checklist:
argocd version
.Describe the bug
Hello, and first of all thanks for your hard work on ArgoCD. It has been of great use for us to manage several applications. In particular it allows our dev teams to conveniently modify live manifests for some Kubernetes resources without leaving the ArgoCD web interface.
Usually when modifying the live manifest on an application resource within ArgoCD UI, the sync status of the application changes to "out of sync" and the APP DIFF shows the difference between the new live manifest and the desired manifest.
However when the edit to the live manifest involves adding a new key to a manifest (for instance the
args
key to a cronjob/deployment pod template spec or a new data key in a configmap), this edit seems undetected: the app still appears as synced with the target manifest and syncing the app/resource does not revert the key addition to the manifest.Is it an expected behavior? Am I missing something?
To Reproduce
Minimal set-up to reproduce this issue:
Leave all application controller parameters to their default value.
one EKS cluster, a
reproduce-bug-argocd-missing-diff
namespace and proper IAM + Kubernetes RBAC configuration for the argocd usera source repository
a simple ArgoCD application:
test-app/Chart.yaml:
test-app/templates/test-configmap.yaml:
Expected behavior
The application sync status should be
OUT OF SYNC
In the DIFF tab of the configmap resource or in the APP DIFF panel of the application, we should see the diff with the desired manifest (that does not possess this other key). It's the case when altering any key present in the live manifest:
Actual Behavior
The application sync status is `SYNCED``
No diff is detected between the live manifest and the desired manifest
If syncing the application, nothing changes
Live Manifest:
Desired Manifest:
Diff:
Version
argocd: v2.8.2+dbdfc71 BuildDate: 2023-08-24T20:05:39Z GitCommit: dbdfc712702ce2f781910a795d2e5385a4f5a0f9 GitTreeState: clean GoVersion: go1.20.6 Compiler: gc Platform: linux/amd64```
The text was updated successfully, but these errors were encountered: