Giter Club home page Giter Club logo

Comments (7)

sc250024 avatar sc250024 commented on July 26, 2024 1

I lean towards @RothAndrew 's point, but if it's actually a use case, why not? Having some way to ignore certain directories in general would probably be useful. Up to @norwoodj in the end.

from helm-docs.

sc250024 avatar sc250024 commented on July 26, 2024

@knackaron Can I ask why you're using Git submodules in your charts/ directory? That seems to go against the whole workflow of the helm dependency command, as well as the point of the requirements.yaml and requirements.lock files in the first place.

from helm-docs.

knackaron avatar knackaron commented on July 26, 2024

@knackaron Can I ask why you're using Git submodules in your charts/ directory? That seems to go against the whole workflow of the helm dependency command, as well as the point of the requirements.yaml and requirements.lock files in the first place.

We maintain a large number of private charts, of which many helper charts and subcharts are included across the primary charts and umbrella charts. We found that maintaining chart dependencies as Git submodules to be better to keep everything in the Git workflow, versus relying on Helm's native dependency management and pulling in external artifacts from chart repositories. It also ensures portability of the charts in deployments where chart repositories are not available (e.g., isolated networks).

A public example of a large Helm chart that is equally complex as some of ours and that doesn't use Helm's dependency management is GitLab's chart: https://gitlab.com/charts/gitlab/tree/master/charts

from helm-docs.

RothAndrew avatar RothAndrew commented on July 26, 2024

Yeah, but, they should. GitLab's chart is confusing as hell, partly because it doesn't follow the standard convention of Helm's chart dependency system.

from helm-docs.

knackaron avatar knackaron commented on July 26, 2024

Opened a MR with the functionality I'm looking for. It doesn't affect the default behavior.

from helm-docs.

norwoodj avatar norwoodj commented on July 26, 2024

Hey, sorry I have been so slow on the response. I looked at your PR and I'm not sure if this is exactly the approach I want to go with. Thank you for the feature request, as it forced me to do something I have been meaning to do a long time.

See the PR I'll attach, it will add a .helmdocsignore file that can be used like a .gitignore file to exclude directories from processing. This way you can accomplish what you're going for, not having to supply the ignore-dir option everytime. It is also more flexible, in my opinion.

from helm-docs.

knackaron avatar knackaron commented on July 26, 2024

@norwoodj Thanks. That solution is superior and will work great for us.

from helm-docs.

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.