Skip to content
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

[Bug]: template: multiple definition of template #277

Open
1 task done
wrenix opened this issue Nov 8, 2024 · 0 comments · May be fixed by #276
Open
1 task done

[Bug]: template: multiple definition of template #277

wrenix opened this issue Nov 8, 2024 · 0 comments · May be fixed by #276
Assignees
Labels
bug Something isn't working triage Issues that need to be triaged and categorized

Comments

@wrenix
Copy link

wrenix commented Nov 8, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

WARN[2024-11-08T17:27:02+01:00] Error generating gotemplates for chart chart-a: template: base:31: template: multiple definition of template "changelog" 

Expected Behavior

on chart-a i got:

### Version 2 to 3
- split of `image.repository` to `image.registry` and `image.repository`

on every other chart:

No Breaking changes yet

Reference Chart

Test-setup:

helm-docs -t ./default.gotmpl -t on_chart.gotmpl

./default.gotmpl:

{{- block "changelog" . }}
No Breaking changes yet
{{- end }}

./chart-a/on_chart.gotmpl:

{{- define "changelog" }}
### Version 2 to 3
- split of `image.repository` to `image.registry` and `image.repository`
{{- end }}

Reference Template

No response

Environment

  • Helm-Docs: 1.14.2

Link to helm-docs Logs

No response

Further Information

No response

@wrenix wrenix added bug Something isn't working triage Issues that need to be triaged and categorized labels Nov 8, 2024
@wrenix wrenix linked a pull request Nov 8, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Issues that need to be triaged and categorized
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants