Skip to content

Commit 675b47a

Browse files
authored
fix: Templating of keywords and Markdown newlines (#623)
* fix: Templating of keywords * Also fix newlines in Markdown
1 parent 9cc9af9 commit 675b47a

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

template/deploy/helm/[[operator]]/Chart.yaml.j2

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@ home: https://github.com/stackabletech/{[ operator.name }]
99
sources:
1010
- https://github.com/stackabletech/{[ operator.name }]
1111

12-
keywords:
13-
{[%- for keyword in operator.keywords %}]
14-
- {[ keyword }]
15-
{[%- endfor %}]
12+
keywords: {[ operator.keywords | tojson }]
1613

1714
maintainers:
1815
- name: Stackable

template/deploy/helm/[[operator]]/README.md.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ See the [documentation](https://docs.stackable.tech/home/stable/{[ operator.prod
4040

4141
This operator installs and manages its own CustomResourceDefinitions, so they are not part of this chart.
4242
The resources it reconciles, and the configuration they accept, are described in the [documentation](https://docs.stackable.tech/home/stable/{[ operator.product_string }]/).
43-
{[%- if operator.config.has_product | default(true) %}]
43+
{[% if operator.config.has_product | default(true) %}]
4444
Each CRD is also browsable on the [Stackable Hub](https://hub.stackable.tech/components/{[ operator.hub_component_slug | default(operator.product_string) }]), with its schema and the API versions served per SDP release.
45-
{[%- endif %}]
45+
{[% endif %}]
4646

4747
## Links
4848

0 commit comments

Comments
 (0)