Skip to content

Commit 2db2ba7

Browse files
authored
Merge pull request #2 from Artus-LHIND/develop
refactor: badges at default template
2 parents 99c522e + 1ee9a7e commit 2db2ba7

File tree

6 files changed

+6
-18
lines changed

6 files changed

+6
-18
lines changed

example-charts/helm-3/README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22

33

44

5-
![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square)
6-
![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
7-
5+
![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
86

97
A simple wrapper around the stable/nginx-ingress chart that adds a few of our conventions
108

example-charts/nginx-ingress/README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22

33

44

5-
![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square)
6-
7-
5+
![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square)
86

97
A simple wrapper around the stable/nginx-ingress chart that adds a few of our conventions
108

example-charts/no-requirements/README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22

33

44

5-
![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square)
6-
7-
5+
![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square)
86

97
A simple chart that installs, let's say PrometheusRules, that needs no sub-charts
108

example-charts/no-values/README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22

33

44

5-
![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square)
6-
7-
5+
![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square)
86

97
A very simple chart that doesn't even need any values for customization
108

example-charts/special-characters/README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22

33

44

5-
![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square)
6-
![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
7-
5+
![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
86

97
A chart demonstrating handling of special characters in values files
108

pkg/document/template.go

+1-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ import (
1616
const defaultDocumentationTemplate = `{{ template "chart.header" . }}
1717
{{ template "chart.deprecationWarning" . }}
1818
19-
{{ template "chart.versionBadge" . }}
20-
{{ template "chart.typeBadge" . }}
21-
{{ template "chart.appVersionBadge" . }}
19+
{{ template "chart.versionBadge" . }} {{ template "chart.typeBadge" . }} {{ template "chart.appVersionBadge" . }}
2220
2321
{{ template "chart.description" . }}
2422

0 commit comments

Comments
 (0)