Comments (7)
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.
@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 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.
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.
Opened a MR with the functionality I'm looking for. It doesn't affect the default behavior.
from helm-docs.
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.
@norwoodj Thanks. That solution is superior and will work great for us.
from helm-docs.
Related Issues (20)
- Not an issue
- Add support for sections and custom introduction HOT 2
- Add option to disable alphabetical sorting and keep declaration order HOT 2
- Missing versions in GitHub Releases HOT 3
- Update dependencies HOT 3
- bug: Binary artifacts renamed in `v1.11.2` HOT 7
- [Bug]: building for openSUSE fails with "unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)" HOT 4
- [Feat]: Move project to helm-docs organization HOT 3
- [Feat]: recursive with template from root (and template inside chart) HOT 1
- Not able to ignore chart folder even after adding entry in .helmdocsignore file HOT 5
- [Bug]: README shows the repo name as jnorwood/helm-docs rather than norwoodj/helm-docs in pre-commit examples
- [security] Vulnerabilities in the Container Image HOT 2
- Is it possible to add custom fields and use those values in generating docs
- [Feat]: Add an option for "deprecation warning" for a value HOT 1
- Collision between the actual helm-docs commands and the regular Markdown documentation of the helm charts HOT 1
- [Bug]: Segmentation violation when using templates in `values.yml` HOT 1
- [Bug]: Error with my go1.20 cannot compile Go 1.22 code HOT 1
- [Feat]: git-hook HOT 3
- [Feat]: pre-commit helm-docs-container pin docker version by default
- [Bug]: `helm-docs.versionFooter` missing when installing tool using Go HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helm-docs.