Giter Club home page Giter Club logo

Comments (4)

iam-veeramalla avatar iam-veeramalla commented on August 12, 2024 1

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.

nastacio avatar nastacio commented on August 12, 2024

@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.

iam-veeramalla avatar iam-veeramalla commented on August 12, 2024

Thanks @nastacio .. I will take a look at why changes in repositories is not reset by the controller.

from gitops-operator.

lachm99 avatar lachm99 commented on August 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.