Comments (4)
Hi @nastacio , Thanks for raising issue with us.
Operator reconciles on changes made to the argo cd resources and sets them back to default. This is an expected behaviour. Any changes that you require should be rather made as part of Argo CR.
Please add your customizations to argocd CR
cr.Spec.ResourceCustomizations
This is the piece of code which sets the argo cd config map back to default.
https://github.com/argoproj-labs/argocd-operator/blob/3aa839b023883b564ac5bfd6012f16f9ce19797b/pkg/controller/argocd/configmap.go#L437
from gitops-operator.
@iam-veeramalla your solution works, which is fantastic for our immediate needs.
There is an odd inconsistency with other patches to that same argocd-cm
, since I could patch the repositories
parameter without it being reset.
I can understand the need to restructure the way the configuration is managed (moving it up from the ConfigMap to the ArgoCD object), but it seems like letting some portions of argocd-cm
behave like in ArgoCD (e.g. repositories
can be patched and is not reset) , but not others, will confuse a lot of people familiar with ArgoCD.
from gitops-operator.
Thanks @nastacio .. I will take a look at why changes in repositories is not reset by the controller.
from gitops-operator.
Hi @iam-veeramalla,
I'm encountering the same issue as @nastacio was facing, but in the ArgoCD CR rather than the ConfigMap.
I am updating the CR, but it will occasionally reset and completely remove my resource customizations.
from gitops-operator.
Related Issues (20)
- Add support for progressive delivery using Argo Rollouts
- RBAC Error to reconciler controller.argo HOT 2
- Default Github.com RSA key no longer matches upstream, causing errors HOT 3
- Enable ignored e2e tests
- Fix Kam Image reconcliation during upgrades HOT 1
- Add Siddhesh Ghadi as Reviewer on all the Supported branches
- NodePlacement or Toleration/NodeSelector not working HOT 1
- Operator stuck on 1.7.2 and can't upgrade it HOT 14
- Server ingress not setting `ingressClassName` once ArgoCD instance gets updated with the field HOT 1
- (Extra)VolumeMount for appset controller
- Cant install operator 1.10.1 on OKD 4.14 HOT 1
- ArgoCD object should use argocd-server-tls secret in openshift-gitops namespace for TLS cert HOT 1
- resource.customizations.ignoreDifferences doesn't save configuration
- Resource requests for default instance are excessive for small use cases
- Diffs not being detected
- Allow Volumes/VolumeMounts to pass through to the Deployment HOT 8
- Can't set any Proxy for SCMProvider Generator in my ApplicationSet
- ApplicationSets CRD cannot be watched / listed by argocd-server SA HOT 1
- Adding cluster via ArgoCD CLI HOT 2
- Ignore differences when using the catalog source image template annotation
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 gitops-operator.