Comments (1)
After some tests, I noticed that if I take the ownership on the spec.template.spec.containers.image
field using the following command, Argo CD succeed to do the diff.
apiVersion: apps/v1
kind: Deployment
metadata:
name: foo
spec:
template:
spec:
containers:
- name: foo
image: <my_image>
kubectl -f deployment.yaml --server-side --field-manager='myself'
I guess, if the image field is managed by another controller, it is added when doing the server-side diff otherwise if no one manage this field and as the respectIgnoreDifferences is active, the image field is not added and cause the invalid manifest error, so not sure it is a bug, seems more like the normal behavior of the server-side feature, don't know if Argo can manage this situation in some way...
from argo-cd.
Related Issues (20)
- Multiple Sources for Repo HOT 1
- blockOwnerDeletion and controller missing from job spec when using create-job
- Rename and change of YAML file leads to Sync failure (without kustomize)
- Server-Side Diff Reports out of sync on "status" key (among other noisy diffs) HOT 3
- Unable to Add Gitlab repository with Project/Group/deployment token HOT 1
- multiple `--resource !` exclusion flags to `argocd app sync` does not work, includes _all_ resources
- Security scan finds vulnerability CIRCL's Kyber: timing side-channel (kyberslash2) HOT 1
- CRDs do not get the correct tracking annotation HOT 1
- `Windows` in Settings>Projects is not an intuitive name for `Sync Windows` HOT 2
- Add support for DM (direct message) notifications based on event properties
- PostSync hook runs while Deployment pods from previous ReplicaSet still exist HOT 1
- Application status to "Unknown", because kube-apiserver sent GOAWAY and closed the connection HOT 1
- Orca Security scan finds vulnerability CVE-2023-47108
- Error generating manifests when Helm chart references a dependency more than once
- Post-Delete Hook support mutate Application object HOT 2
- The application urls do not allow standard link actions upon right click
- Unexpected Namespace Deletion HOT 4
- CLI : add sync policy option `manual` for app create command to make it similar to options provided in Web console HOT 6
- Impossible to delete Application or Add a label HOT 2
- Argo CD CLI prevents appset from being created when using list generator with empty array
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.