From 27a5682a425af657afa4aaa40cd694c640313d6c Mon Sep 17 00:00:00 2001 From: Mohammad Yosefpor Date: Thu, 21 Oct 2021 21:41:40 +0330 Subject: [PATCH] feat(charts): Adding readme for charts --- README.md | 2 +- charts/health-exporter/Chart.yaml | 4 ++-- charts/health-exporter/README.md | 33 +++++++++++++++++++++++++++++- charts/health-exporter/values.yaml | 32 ++++++++++++++--------------- 4 files changed, 51 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 6c70d8f..b16dd4a 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ sudo docker run -p 8080:8080 -v ./config.yaml:/app/config.yaml:z docker.pkg.gith untested. -1. Add the HashiCorp Helm Repository: +1. Add the SnappCab Helm Repository: ```bash helm repo add snapp-cab https://snapp-cab.github.io/health-exporter/charts diff --git a/charts/health-exporter/Chart.yaml b/charts/health-exporter/Chart.yaml index 8966b72..388140e 100644 --- a/charts/health-exporter/Chart.yaml +++ b/charts/health-exporter/Chart.yaml @@ -4,5 +4,5 @@ home: https://github.com/snapp-cab/health-exporter sources: - https://github.com/snapp-cab/health-exporter.git type: application -version: 0.3.2 -appVersion: 0.3.0 +version: 0.3.3 +appVersion: 0.3.1 diff --git a/charts/health-exporter/README.md b/charts/health-exporter/README.md index 1ba8bda..58d4e33 100644 --- a/charts/health-exporter/README.md +++ b/charts/health-exporter/README.md @@ -1 +1,32 @@ -# Helm chart for health-exporter +# health-exporter + +![Version: 0.3.3](https://img.shields.io/badge/Version-0.3.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.3.1](https://img.shields.io/badge/AppVersion-0.3.1-informational?style=flat-square) + +**Homepage:** + +## Source Code + +* + +## Values + +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| autoscaling.enabled | bool | `false` | | +| autoscaling.maxReplicas | int | `4` | | +| autoscaling.minReplicas | int | `2` | | +| autoscaling.targetCPUUtilizationPercentage | int | `80` | | +| autoscaling.targetMemoryUtilizationPercentage | int | `80` | | +| config.listen | string | `":9876"` | | +| config.targets.dns | list | `[]` | | +| config.targets.http | list | `[]` | | +| image.repository | string | `"ghcr.io/snapp-incubator/health-exporter"` | | +| image.tag | string | `""` | | +| replicas | int | `1` | | +| resources.limits.cpu | string | `"1"` | | +| resources.limits.memory | string | `"100Mi"` | | +| resources.requests.cpu | string | `"1"` | | +| resources.requests.memory | string | `"100Mi"` | | + +---------------------------------------------- +Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0) diff --git a/charts/health-exporter/values.yaml b/charts/health-exporter/values.yaml index 0b63776..c3ab287 100644 --- a/charts/health-exporter/values.yaml +++ b/charts/health-exporter/values.yaml @@ -22,19 +22,19 @@ autoscaling: config: listen: ':9876' targets: - http: - - name: 'sample' - url: 'http://google.com' - rps: 0.5 - timeout: '5s' - - name: 'google-tls' - url: 'https://google.com' - rps: 0.5 - timeout: '5s' - tls_skip_verify: true - dns: - - name: 'google' - domain: 'google.com' - record_type: 'A' - rps: 0.5 - timeout: '2s' + http: [] + # - name: 'sample' + # url: 'http://google.com' + # rps: 0.5 + # timeout: '5s' + # - name: 'google-tls' + # url: 'https://google.com' + # rps: 0.5 + # timeout: '5s' + # tls_skip_verify: true + dns: [] + # - name: 'google' + # domain: 'google.com' + # record_type: 'A' + # rps: 0.5 + # timeout: '2s'