-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade helm-docs #1784
Comments
Not possible to use |
@pdrastil yep. That's mentioned above. From the helm-docs README
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Not stale |
I had a look into the code of helm-docs but apparently comments on the next lines are just See also here: Note that comments can continue on the next line. In that case leave out the double dash, and the lines will simply be appended with a space in-between, as in the controller.replicas field in the example above If they were at least combined with a newline, we would be able to parse I tinkered a little bit with e.g. the clusterCredentials in the argo-cd values: values.yaml configs:
# -- Provide one or multiple [external cluster credentials]
# @default -- `[]` (See [values.yaml])
## Ref:
## - https://argo-cd.readthedocs.io/en/stable/operator-manual/declarative-setup/#clusters
## - https://argo-cd.readthedocs.io/en/stable/operator-manual/security/#external-cluster-credentials
## - https://argo-cd.readthedocs.io/en/stable/user-guide/projects/#project-scoped-repositories-and-clusters
clusterCredentials: [] README.md.gotmpl
result of running
So we got all 5 lines, but I don't know if this is stable enough to really implement - there could be quite a few edge cases; at least in contrast to just continue using the old version. For reference, when just printing the AutoDescription we get the following:
result of running Provide one or multiple [external cluster credentials] # Ref: # - https://argo-cd.readthedocs.io/en/stable/operator-manual/declarative-setup/#clusters # - https://argo-cd.readthedocs.io/en/stable/operator-manual/security/#external-cluster-credentials # - https://argo-cd.readthedocs.io/en/stable/user-guide/projects/#project-scoped-repositories-and-clusters |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Is your feature request related to a problem?
no
Related helm chart
argo-cd, argo-events, argo-rollouts, argo-workflows, argocd-image-updater, argocd-apps
Describe the solution you'd like
Upgrade the
scripts/helm-docs.sh
file to use the latestjnorwood/helm-docs
container image (currently 1.11.0). The current issue is that comments have to be reformatted in ourREADME.md.gotmpl
files so that they don't show up in the generatedREADME.md
files. That is mentioned here in its README.Describe alternatives you've considered
not upgrading
Additional context
Was going to be a part of #1782 but ended up being beyond the scope of the PR.
The text was updated successfully, but these errors were encountered: