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

How to disable the formatting for the helm chart name ? #15

Closed
raul1991 opened this issue Aug 30, 2020 · 4 comments
Closed

How to disable the formatting for the helm chart name ? #15

raul1991 opened this issue Aug 30, 2020 · 4 comments

Comments

@raul1991
Copy link
Contributor

First of all, Damn! this tool is fantastic just does what it says, perfectly.

Now, the issue is that the helm chart initial character gets rendered as upper case. Is there a flag to disable it ?

Example:

description: Helm chart for foo-bar
name: foo-bar
version: 0.9.0-15

Expectation

Chart name to be rendered as is

Actual

chart name is rendered as Foo-bar

@raul1991
Copy link
Contributor Author

Ok, I see this link and maybe overriding a template variable {{name}} would help here but where should I place it or tell frigate about it ? .frigade ?

@raul1991
Copy link
Contributor Author

raul1991 commented Aug 30, 2020

I guess I was too fast in creating the issue because after reading the docs I got this working. So put a file named .frigate with the following content in your helm chart directory

{% extends "markdown.jinja2" %}

{% block title -%}
# {{ name }}
{%- endblock %}

@jacobtomlinson
Copy link
Member

Thanks for raising this @raul1991 and thanks for the praise!

I think this may have been fixed by #14.

@raul1991
Copy link
Contributor Author

raul1991 commented Nov 9, 2020

I think the pull request removed the support for capitalization of the comments.

This issue was regarding the capitalization of the chart name inthe rendered output file. This could be done by overriding the respective template inside a .frigate file. I didn't see it that time so raised an issue but lets close this now.

@raul1991 raul1991 closed this as completed Nov 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants