-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add bank-vaults version checks (#282)
- Loading branch information
1 parent
0a176c4
commit 7f93832
Showing
7 changed files
with
77 additions
and
80 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,27 @@ | ||
{{- define "chart.kubeVersionBadge" -}} | ||
{{- if .KubeVersion -}}![kube version: {{ .KubeVersion }}](https://img.shields.io/badge/kube%20version-{{ .KubeVersion | replace "-" "--" }}-informational?style=flat-square){{- end -}} | ||
{{- end -}} | ||
|
||
{{- define "tldr" -}} | ||
## TL;DR; | ||
|
||
```bash | ||
helm install --generate-name --wait ghcr.io/bank-vaults/helm-charts/{{ .Name }} | ||
``` | ||
{{- end -}} | ||
|
||
{{- define "chart.baseHead" -}} | ||
{{ template "chart.header" . }} | ||
|
||
{{ template "chart.kubeVersionBadge" . }} | ||
|
||
{{ template "chart.description" . }} | ||
|
||
{{ template "chart.homepageLine" . }} | ||
|
||
{{ template "tldr" . }} | ||
{{- end -}} | ||
## TL;DR; | ||
|
||
{{- define "chart.base" -}} | ||
{{ template "chart.baseHead" . }} | ||
```bash | ||
helm install --generate-name --wait oci://ghcr.io/bank-vaults/helm-charts/{{ .Name }} | ||
``` | ||
|
||
{{ template "chart.valuesSection" . }} | ||
{{- end -}} | ||
{{ define "chart.valuesTableHtml" }} | ||
|
||
{{ template "chart.header" . }} | ||
The following table lists the configurable parameters of the Helm chart. | ||
|
||
{{ template "chart.kubeVersionBadge" . }} | ||
| Parameter | Type | Default | Description | | ||
| --- | ---- | ------- | ----------- | | ||
{{- range .Values }} | ||
| `{{ .Key }}` | {{ .Type }} | {{ .Default }} | {{ if .Description }}{{ .Description }}{{ else }}{{ .AutoDescription }}{{ end }} | | ||
{{- end }} | ||
|
||
{{ template "chart.description" . }} | ||
|
||
{{ template "chart.homepageLine" . }} | ||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. | ||
|
||
{{ template "tldr" . }} | ||
{{ end }} | ||
|
||
{{ template "chart.valuesSection" . }} | ||
{{ template "chart.valuesSectionHtml" . }} |
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
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