Skip to content

Commit

Permalink
Merge pull request #39 from kube-logging/ci-chart-doc
Browse files Browse the repository at this point in the history
chore(docs): adapt helm install docs to new release artifacts
  • Loading branch information
pepov authored Aug 7, 2023
2 parents b8551ba + b56b5df commit ba82c3f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 26 deletions.
11 changes: 1 addition & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,11 @@ _API managed testing tool for logging-operator_


## Deploy log-generator with Helm
Add the chart repository of the Log-generator using the following commands:

```sh
helm repo add kube-logging https://kube-logging.github.io/helm-charts
helm repo update
helm install --wait --generate-name oci://ghcr.io/kube-logging/helm-charts/log-generator
```

### Install the Log-generator.

```sh
helm install log-generator kube-logging/log-generator
```


## Usage

You can start the daemon serving the API on e.g. port 11000 by running the following command:
Expand Down
15 changes: 1 addition & 14 deletions charts-docs/templates/overrides.gotmpl
Original file line number Diff line number Diff line change
@@ -1,19 +1,7 @@
{{- define "chart.versionBadge" -}}
![version: {{ .Version }}](https://img.shields.io/badge/version-{{ .Version | replace "-" "--" }}-informational?style=flat-square)
{{- end -}}

{{- define "chart.typeBadge" -}}
{{- if .Type -}}![type: {{ .Type }}](https://img.shields.io/badge/type-{{ .Type }}-informational?style=flat-square){{- end -}}
{{- end -}}

{{- define "chart.appVersionBadge" -}}
{{- if .AppVersion -}}![app version: {{ .AppVersion }}](https://img.shields.io/badge/app%20version-{{ .AppVersion | replace "-" "--" }}-informational?style=flat-square){{- end -}}
{{- end -}}

{{- define "chart.kubeVersionBadge" -}}
{{- if .KubeVersion -}}![kube version: {{ .KubeVersion }}](https://img.shields.io/badge/kube%20version-{{ .KubeVersion | replace "-" "--" }}-informational?style=flat-square){{- end -}}
{{- end -}}

{{- define "chart.artifactHubBadge" -}}
[![artifact hub](https://img.shields.io/badge/artifact%20hub-{{ .Name | replace "-" "--" }}-informational?style=flat-square)](https://artifacthub.io/packages/helm/kube-logging/{{ .Name }})
{{- end -}}
Expand All @@ -22,8 +10,7 @@
## TL;DR;

```bash
helm repo add kube-logging https://kube-logging.github.io/helm-charts
helm install --generate-name --wait kube-logging/{{ .Name }}
helm install --wait --generate-name oci://ghcr.io/kube-logging/helm-charts/{{ .Name }}
```
{{- end -}}

Expand Down
3 changes: 1 addition & 2 deletions charts/log-generator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ A Helm chart for Log-generator
## TL;DR;

```bash
helm repo add kube-logging https://kube-logging.github.io/helm-charts
helm install --generate-name --wait kube-logging/log-generator
helm install --wait --generate-name oci://ghcr.io/kube-logging/helm-charts/log-generator
```

## Values
Expand Down

0 comments on commit ba82c3f

Please sign in to comment.