-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated chart templates to remove requirement of replacing underscore…
… with hyphen in generated charts (#49) Signed-off-by: Vivek Kumar <[email protected]> Co-authored-by: Vivek Kumar <[email protected]>
- Loading branch information
1 parent
bb1147e
commit cb7980c
Showing
12 changed files
with
112 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 9 additions & 9 deletions
18
...mplates/category_chartserviceversion.tmpl → ...mplates/category-chartserviceversion.tmpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
apiVersion: litmuchaos.io/v1alpha1 | ||
kind: ChartServiceVersion | ||
metadata: | ||
name: {{ category }} | ||
name: {{ category | replace("_", "-") }} | ||
version: {{ version }} | ||
annotations: | ||
categories: {{ category }} | ||
categories: {{ category | replace("_", "-") }} | ||
spec: | ||
displayName: {{ ccategory }} chaos | ||
displayName: {{ category | replace("_", "-") }} chaos | ||
categoryDescription: > | ||
{{ description }} | ||
experiments: | ||
- {{ name }} | ||
- {{ name | replace("_", "-") }} | ||
keywords: | ||
{%- for key in keywords %} | ||
- "{{ key }}" | ||
{%- endfor %} | ||
maintainers: | ||
{%- for i in maintainers %} | ||
- name: {{- i.name }} | ||
email: {{- i.email }} | ||
- name: {{ i.name }} | ||
email: {{ i.email }} | ||
{%- endfor %} | ||
minKubeVersion: {{ minkubernetesversion }} | ||
provider: | ||
name: {{ provider.name }} | ||
links: | ||
{%- for ref in references %} | ||
- name: {{- ref.name }} | ||
url: {{- ref.url }} | ||
- name: {{ ref.name }} | ||
url: {{ ref.url }} | ||
{%- endfor %} | ||
icon: | ||
- url: | ||
mediatype: "" | ||
chaosexpcrdlink: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/{{ category }}/experiments.yaml | ||
chaosexpcrdlink: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/{{ category | replace("_", "-") }}/experiments.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.