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

Documentation for nameFormat is incorrect in tanka.dev #894

Closed
ingyamilmolinar opened this issue Jul 28, 2023 · 0 comments · Fixed by #1037
Closed

Documentation for nameFormat is incorrect in tanka.dev #894

ingyamilmolinar opened this issue Jul 28, 2023 · 0 comments · Fixed by #1037
Assignees
Labels
component/docs Improvements or additions to documentation

Comments

@ingyamilmolinar
Copy link

Website https://tanka.dev/helm#two-resources-share-the-same-name seems to have an incorrect example:

custom: helm.template('foo', './charts/foo', {
  nameFormat: '{{ print .namespace "_" .kind "_" .metadata.name | snakecase }}'
})

Should be:

custom: helm.template('foo', './charts/foo', {
  nameFormat: '{{ print .metadata.namespace "_" .kind "_" .metadata.name | snakecase }}'
})
@Elfo404 Elfo404 added the component/docs Improvements or additions to documentation label May 27, 2024
@Elfo404 Elfo404 self-assigned this May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/docs Improvements or additions to documentation
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants