Comments (2)
I believe you have a little misunderstanding about how ArgoCD syncs work, or actually kubectl apply
in general.
ArgoCD (and kubectl apply
) performs a "three-way merge patch" to diff and apply resources. When performing this type of merge, ArgoCD only compares (and applies) the attributes that are defined inside the original manifests (inside your git repo). As a consequence, you could also scale your Deployments by patching the .spec.replicas
attribute of your Deployment
inside the cluster and ArgoCD wouldn't complain at all (as long as your versioned manifest does not declare this attribute).
My point is: This is expected behavior. Also, this issue seems to be a duplicate of #4537 where you can read more about this behavior.
from argo-cd.
Hi, thank you for the quick answer.
after reading all the comments in the previous issue (#4537) I guess my only question is-
it seems like this behavior is unexpected and not trivial to a lot of people that encountered the same problem. is there an option to rethink this? maybe have the env vars appear somewhere or marked somehow?
from argo-cd.
Related Issues (20)
- New metrics required for the argocd-repo-server
- Argocd Application does not pick the changes in its own annotations/labels and sync options. HOT 3
- ProgressiveSync updates are not working as expected
- Support a label selector for application controller HOT 1
- Application delete stuck because post-delete "/cleanup" finalizer is not removed when cluster is invalid.
- feat: Support service account token for argocd server authentication HOT 6
- tini-static binary is vulnerable to a bunch of CVEs HOT 2
- ApplicationSet e2e TestSyncPolicyCreateUpdate&TestSyncPolicyCreateOnly test race condition bug
- Sync issue with argo-cd helm chart 7.4.x HOT 1
- Panic due to un-exported field
- one or more objects failed to apply, reason: error when patching "/dev/shm/1490806802": CronJob.batch "consumer" is invalid: spec.schedule: Required value (retried 5 times) HOT 1
- 2.12.x throws could not read Username for 'https://gitlab.com' from the UI HOT 1
- ApplicationSet does not generate any apps if there are 2 or more git generators and there is no credentials for one of them
- 2.12. multiple sources stop working HOT 2
- sync window list output to json/yaml drops fields
- --helm-set not working when using multi source applicationsets or applications
- hydrator: short-circuit hydration on hydrator.metadata drySha
- Adding Health Checks for cluster api MachinePool
- nil pointer dereference when user provides invalid cron schedule
- Applicationset controller does not record progressing status in applicationset status conditions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from argo-cd.