Giter Site home page Giter Site logo

Comments (9)

K1Hyve avatar K1Hyve commented on September 18, 2024 3

Would be good if this was implemented the same way as Bitnami's readme-generator-for-helm that you can specify fields to skip in the values.yaml itself.
https://github.com/bitnami-labs/readme-generator-for-helm#metadata

This would scale better when generating docs for multiple charts compared to using --skip-values flag.

from helm-docs.

j-buczak avatar j-buczak commented on September 18, 2024 2

@Anticom doc directive is already merged. It's documented here: https://github.com/norwoodj/helm-docs#ignoring-values

I don't know what are the plans for --skip-values flag. I can envision a case when it's useful, but I don't know what are the plans for this.

@norwoodj As the original question/feature request is resolved, I would close this issue.

from helm-docs.

norwoodj avatar norwoodj commented on September 18, 2024

There is not at present, but I think this is a reasonable ask. I can envision a flag (that can be repeated) like --skip-values deployment.replicas or similar. I can implement this when I get more time, (I'm very busy with my real job at present). Please feel free to submit a PR though.

from helm-docs.

mjpitz avatar mjpitz commented on September 18, 2024

No worries! I'll try and pull something together when I have a minute. Just wanted to make sure I wasn't missing something.

from helm-docs.

Pothulapati avatar Pothulapati commented on September 18, 2024

👍 on this feature request! Would be useful for my use-case too!

from helm-docs.

sheisnicola avatar sheisnicola commented on September 18, 2024

@K1Hyve @Pothulapati @mjpitz I needed something similar to this as well, but was able to implement it by generating the table myself in a custom template (I provide an example in an unrelated enhancement request I just raised here #107).

from helm-docs.

j-buczak avatar j-buczak commented on September 18, 2024

PR for this: Add option for ignoring values #141

from helm-docs.

Anticom avatar Anticom commented on September 18, 2024

There is not at present, but I think this is a reasonable ask. I can envision a flag (that can be repeated) like --skip-values deployment.replicas or similar. I can implement this when I get more time, (I'm very busy with my real job at present). Please feel free to submit a PR though.

I'd prefer configuring which values to skip via a special doc comment directive rather than a flag for helm-docs cli. My reasoning / use case is setting some values on sub chart's values. Since those are (hopefully) documented in the referenced chart, it would be superflous to have documentation for those overrides generated in my chart.

Alternatively the --skip-values flag either would have to work recursively or it would have to support globbing patterns. Otherwise I'd have to specify a huge set of values to be ignored / skipped.

from helm-docs.

Anticom avatar Anticom commented on September 18, 2024

doc directive is already merged. It's documented here: https://github.com/norwoodj/helm-docs#ignoring-values

Oh, I've totally missed that. Thanks for the heads-up! 🚀

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.