diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..50023f8 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,5 @@ +repos: + - repo: https://github.com/norwoodj/helm-docs + rev: v1.3.0 + hooks: + - id: helm-docs diff --git a/charts/promlens/Chart.yaml b/charts/promlens/Chart.yaml index b78f5e9..e27275e 100644 --- a/charts/promlens/Chart.yaml +++ b/charts/promlens/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: promlens -version: 0.2.0 +version: 0.2.1 description: This Chart installs and configures PromLens sources: ["https://github.com/ricardo-ch/helm-charts/tree/main/charts/promlens"] maintainers: diff --git a/charts/promlens/README.md b/charts/promlens/README.md new file mode 100644 index 0000000..dc4fc4b --- /dev/null +++ b/charts/promlens/README.md @@ -0,0 +1,40 @@ +# PromLens + +![Version: 0.2.1](https://img.shields.io/badge/Version-0.2.1-informational?style=flat-square) ![Release Status](https://github.com/ricardo-ch/helm-charts/workflows/Release%20Charts/badge.svg) + +This chart installs [PromLens](https://promlens.com/) from [PromLabs](https://promlabs.com/). + +PromLens is a tool that makes learning and using PromQL easier and more productive. It integrates a visual query builder with explanation and visualization features. + +## Helm Chart + +This is an initial release, based on the Helm chart we are using to deploy the tool internally. Currently, there are multiple features of PromLens that this Chart doesn't provide. If something is missing, feel free to open and issue or submit a Pull Request. + +### How To Install + +Simply add this Chart repository to Helm: + +```sh +➜ helm repo add ricardo https://ricardo-ch.github.io/helm-charts/ +"ricardo" has been added to your repositories +``` + +## Values + +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| config.gcs_sa | string | `""` | Google Cloud Storage Account | +| config.grafana_api_key | string | `""` | Grafana API Key, see https://grafana.com/docs/grafana/latest/http_api/auth/ | +| config.grafana_url | string | `""` | Grafana URL | +| config.license | string | `""` | PromLens License | +| config.shared_links_bucket_name | string | `"promlens"` | Bucket Name in Storage Account | +| deployment.image | string | `"promlabs/promlens"` | PromLens Conatiner Image | +| deployment.replicas | int | `1` | Number of replicas | +| deployment.version | string | `"latest"` | PromLens Container Image Version | + +## Source Code + +* + +---------------------------------------------- +Autogenerated from chart metadata using [helm-docs v1.3.0](https://github.com/norwoodj/helm-docs/releases/v1.3.0)