Git Product home page Git Product logo

Comments (2)

tanyaofei avatar tanyaofei commented on August 27, 2024 1

@agaudreault
Thanks for your kind response. Recently, we've been experimenting with using git submodules to deploy our production environment, aiming to prevent developers from accessing sensitive production configuration files. And our kustomization.yaml did not specify a namespace because our pre-production and production environments are on the same Kubernetes cluster, so we configure namespace in Web UI. This bug seems quite clear: argocd modified the kustomization.yaml, causing the git submodule checkout to fail and displaying Unable to checkout '8315e94e5dbebe05e52301252cd7ac76b3298539 at Last Sync on the page. Now we solved this problem by these following steps:

  1. Explicitly specifying the namespace in the kustomization.yaml file;
  2. Adding a newline at the end of each file.

I think argocd should rollback modifitions before updating submodule.

from argo-cd.

agaudreault avatar agaudreault commented on August 27, 2024

Hey @tanyaofei, do you have any other logs on the repo-server components when it tries to generate your application? And can you share your Application manifest to help reproduce the issue.

Also, can you clarify

Argocd refresh will modify kustomization.yaml, such as adding new line at end of file, or adding namespace field in kustomization.yml if I config namespace in the Web UI.

What is done in the Web UI exactly?

And last question, is that a new error after an upgrade, did anything change recently in your deployment or it has always been like this?

from argo-cd.

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.