Comments (1)
I see your point. However, currently there is no way for image updater to know the source of existing parameters in the Argo CD Application manifest, so it will be pretty close to impossible to remove previously set parameters without possibly removing other overrides from other sources (i.e. someone set an override manually)
One possible solution I could imagine is to extend the spec of Argo CD API to include the source
of a parameter. In the Argo CD UI or CLI, we could set it to the name of the user who set the parameter. I think this might prove useful also for Argo CD. Since image updater is using the API directly, we could set it to argocd-image-updater
to indicate it was initially set by the image updater. This way, we can simply select the parameters that have the correct source
, see if we would set that parameter and if not, unset it.
One edge case this breaks would be someone who first tracks an image, and then decides to untrack it at a certain point in time (i.e. pause it, or completely stop tracking). If the annotations are removed from the Application CR, the actual parameter overrides would be removed too, which may not be the desired result.
Happy to discuss this use-case and possible solutions further.
from argocd-image-updater.
Related Issues (20)
- [BUG] Image should be filtered by image-list annotation
- Deployment Changes Not Reflecting in Argo CD UI with Git-Write-Back Method
- Image repository monitoring libary HOT 6
- Issue a Warning if 2 Argocd Applications are Named the Same
- Could not get tags from registry unauthorized
- AWS ECR: Could not set registry endpoint credentials ... failed timeout after 10s HOT 2
- Unsync'd parameter changes are ignored when evaluating whether to patch parameters
- git write-back-method
- ArgoCD Image updater not considering latest image push to docker hub
- argocd: doesnt pull image metadata from dockerhub private registries HOT 2
- [Help] Image Discovered but Not Updated HOT 8
- Image Updater never updates images - it identifies there needs to be an update HOT 1
- bug: write back to another branch failed by rejected git push
- Argo CD Image Updater Not Retaining Full Registry Path in kustomization.yaml Updates
- Only second image in list is getting updated HOT 3
- starts getting timeout errors with ECR registeries until pod is restarted HOT 1
- Request for "latest pushed tag" update strategy HOT 1
- Cache hit
- Could not update application spec: could not get creds for repo '': credentials for '' are not configured in Argo CD settings HOT 1
- Image updating firing every 10 minutes instead of default 2 minutes
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 argocd-image-updater.