Coder Social home page Coder Social logo

Comments (3)

szibis avatar szibis commented on June 6, 2024

Maybe parallelism is the key to find the answer. Maybe one chart removes temp secrets file for another and we need to scope temp file to a specific chart.

from helm-secrets.

djablonski avatar djablonski commented on June 6, 2024

Indeed, I have now narrowed this down to being a concurrency issue. But still not yet investigated deeply where the root cause lies.

from helm-secrets.

djablonski avatar djablonski commented on June 6, 2024

UPDATE: The issue is caused by clean deleting all .ced files in the tree, no matter if that tree is a chart or not.
In out use case, we have a tree of override values, consisting of paths like .../<environment>/<chart>/<overfide-values-file where those <override-values-files might be secrets also. We're creating a commandline for helm-wrapper which looks like this:

helm-wrapper install <chart-name> --values .../<environment>/<chart>/secrets.yaml

Here the cleanup task is going wild, since it considers .../environment/as the base dir, and deletes every.dec` file in all the subdirs. Since we have multiple commands running in parallel for different charts, whose files are erroneously get deleted, then just fail.

Looking into a possible solution tomorrow, and maybe creating a PR to solve this...

from helm-secrets.

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.