-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor cache code to use artifact hub cache api
- Loading branch information
Showing
9 changed files
with
201 additions
and
185 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
helmRegistries: | ||
registryNames: | ||
- bitnami |
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,92 +1,67 @@ | ||
# helm-exporter | ||
|
||
Installs [helm-exporter](https://github.com/sstarcher/helm-exporter) to export helm stats to prometheus. | ||
![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square) | ||
|
||
## TL;DR; | ||
Exporter for helm metrics | ||
|
||
```console | ||
$ helm install sstarcher/helm-exporter | ||
``` | ||
**Homepage:** <https://github.com/sstarcher/helm-exporter> | ||
|
||
## Introduction | ||
## Maintainers | ||
|
||
This chart bootstraps a [helm-exporter](https://github.com/sstarcher/helm-exporter) deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager. | ||
| Name | Email | Url | | ||
| ---- | ------ | --- | | ||
| sstarcher | [email protected] | https://shanestarcher.com | | ||
|
||
The chart comes with a ServiceMonitor for use with the [Prometheus Operator](https://github.com/helm/charts/tree/master/stable/prometheus-operator). | ||
## Source Code | ||
|
||
## Installing the Chart | ||
* <https://github.com/sstarcher/helm-exporter> | ||
|
||
To install the chart with the release name `my-release`: | ||
|
||
```console | ||
$ helm install sstarcher/helm-exporter --name my-release | ||
``` | ||
|
||
The command deploys helm-exporter on the Kubernetes cluster in the default configuration. The [configuration](#configuration) section lists the parameters that can be configured during installation. | ||
|
||
## Uninstalling the Chart | ||
|
||
To uninstall/delete the `my-release` deployment: | ||
|
||
```console | ||
$ helm delete my-release | ||
``` | ||
|
||
The command removes all the Kubernetes components associated with the chart and deletes the release. | ||
|
||
## Configuration | ||
|
||
The following table lists the configurable parameters of the helm-exporter chart that are in addition to values in a default helm chart. | ||
## Values | ||
|
||
| Key | Type | Default | Description | | ||
|-----|------|---------|-------------| | ||
| affinity | object | `{}` | Assign custom affinity rules for helm-exporter [https://kubernetes.io/docs/concepts/configuration/assign-pod-node/](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/) | | ||
| config.helmRegistries.overrideChartNames | object | `{}` | Provide a name to substitute for the full names of resources e.g. `mysql: stable/mysql` | | ||
| config.helmRegistries.override[0].allowAllReleases | bool | `true` | This allows all semver versions, like release candidates or custom suffixes. | | ||
| config.helmRegistries.override[0].charts | list | `[]` | Chart names for the override (chart) registry/repo url | | ||
| config.helmRegistries.override[0].registry.url | string | `""` | Url to the index file for a custom helm repo | | ||
| fullnameOverride | string | `""` | Provide a name to substitute for the full names of resources | | ||
| image.pullPolicy | string | `"Always"` | Image pull policy for the webhook integration jobs | | ||
| image.repository | string | `"sstarcher/helm-exporter"` | Repository to use for the webhook integration jobs | | ||
| imagePullSecrets | list | `[]` | Reference to one or more secrets to be used when pulling images | | ||
| infoMetric | bool | `true` | Specifies whether to generate the info metric. | | ||
| ingress.annotations | object | `{}` | Annotations for the helm-exporter | | ||
| ingress.enabled | bool | `false` | If true, helm-exporter Ingress will be created | | ||
| ingress.hosts[0].host | string | `"chart-example.local"` | Ingress hostname | | ||
| ingress.hosts[0].paths | list | `[]` | Ingress paths | | ||
| ingress.tls | list | `[]` | Ingress TLS configuration (YAML) | | ||
| latestChartVersion | bool | `true` | Specifies whether to fetch the latest chart versions from repositories. | | ||
| nameOverride | string | `""` | Provide a name in place of helm-exporter | | ||
| namespaces | string | `""` | Specifies which namespaces to query for helm 3 metrics. Defaults to all | | ||
| nodeSelector | object | `{}` | helm-exporter node selector [https://kubernetes.io/docs/user-guide/node-selection/](https://kubernetes.io/docs/user-guide/node-selection/ ) | | ||
| podAnnotations | object | `{}` | Annotations to add to the pod | | ||
| podSecurityContext | object | `{}` | SecurityContext for helm-exporter pod | | ||
| rbac.create | bool | `true` | Create RBAC resources | | ||
| replicaCount | int | `1` | Number of instances to deploy. | | ||
| resources | object | `{}` | Define resources requests and limits for single Pods. | | ||
| securityContext | object | `{}` | SecurityContext for a container | | ||
| service.port | int | `9571` | Port for Service to listen on. | | ||
| service.type | string | `"ClusterIP"` | Service type | | ||
| service.customScrapeEnableAnnotation | string | `""` | Custom annotation to enable scraping. If empty, `prometheus.io/scrape: "true"` will be used | | ||
| serviceAccount.create | bool | `true` | Create a default serviceaccount to use | | ||
| serviceAccount.name | string | `default` | Name for prometheus serviceaccount | | ||
| serviceMonitor.create | bool | `false` | Set to true if using the Prometheus Operator | | ||
| serviceMonitor.interval | string | `nil` | Interval at which metrics should be scraped | | ||
| serviceMonitor.namespace | string | `nil` | The namespace where the Prometheus Operator is deployed | | ||
| serviceMonitor.additionalLabels |object | `{}` | Additional labels to add to the ServiceMonitor | | ||
| serviceMonitor.scrapeTimeout | string | `nil` | Scrape Timeout when the metrics endpoint is scraped | | ||
| timestampMetric | bool | `true` | Specifies whether to generate the timestamps metric. | | ||
| tolerations | list | `[]` | Tolerations for use with node taints [https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/)| | ||
|
||
|
||
```console | ||
$ helm install my-release sstarcher/helm-exporter | ||
``` | ||
|
||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example, | ||
|
||
```console | ||
$ helm install my-release sstarcher/helm-exporter -f values.yaml | ||
``` | ||
|
||
> **Tip**: You can use the default [values.yaml](values.yaml) | ||
| affinity | object | `{}` | | | ||
| config.helmRegistries.overrideChartNames | object | `{}` | | | ||
| config.helmRegistries.override[0].allowAllReleases | bool | `true` | | | ||
| config.helmRegistries.override[0].charts | list | `[]` | | | ||
| config.helmRegistries.override[0].registry.url | string | `""` | | | ||
| config.helmRegistries.registryNames | list | `[]` | | | ||
| env | list | `[]` | | | ||
| fullnameOverride | string | `""` | | | ||
| image.pullPolicy | string | `"Always"` | | | ||
| image.repository | string | `"sstarcher/helm-exporter"` | | | ||
| image.tag | string | `""` | | | ||
| imagePullSecrets | list | `[]` | | | ||
| infoMetric | bool | `true` | | | ||
| ingress.annotations | object | `{}` | | | ||
| ingress.enabled | bool | `false` | | | ||
| ingress.hosts[0].host | string | `"chart-example.local"` | | | ||
| ingress.hosts[0].paths | list | `[]` | | | ||
| ingress.tls | list | `[]` | | | ||
| intervalDuration | int | `0` | | | ||
| latestChartVersion | bool | `true` | | | ||
| nameOverride | string | `""` | | | ||
| namespaces | string | `""` | | | ||
| nodeSelector | object | `{}` | | | ||
| podAnnotations | object | `{}` | | | ||
| podLabels | object | `{}` | | | ||
| podSecurityContext | object | `{}` | | | ||
| rbac.create | bool | `true` | | | ||
| replicaCount | int | `1` | | | ||
| resources | object | `{}` | | | ||
| securityContext | object | `{}` | | | ||
| service.annotations | object | `{}` | | | ||
| service.port | int | `9571` | | | ||
| service.type | string | `"ClusterIP"` | | | ||
| serviceAccount.create | bool | `true` | | | ||
| serviceAccount.name | string | `nil` | | | ||
| serviceMonitor.additionalLabels | object | `{}` | | | ||
| serviceMonitor.create | bool | `false` | | | ||
| serviceMonitor.interval | string | `nil` | | | ||
| serviceMonitor.namespace | string | `nil` | | | ||
| serviceMonitor.scrapeTimeout | string | `nil` | | | ||
| timestampMetric | bool | `true` | | | ||
| tolerations | list | `[]` | | | ||
|
||
---------------------------------------------- | ||
Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0) |
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
Oops, something went wrong.