github-exporter
by k8s On Lab
Helm chartv0.0.4App v2.3.1Apache-2.0Verified publisher
A Helm chart for github-exporter
About this chart
github-exporter
A Helm chart for github-exporter
Homepage: https://github.com/githubexporter/github-exporter
Install
You can install this chart from the classic Helm repository or from OCI in GHCR.
Helm repository
helm repo add publiccharts https://charts.ar80.eu
helm repo update
helm install my-release publiccharts/github-exporter
OCI registry (GHCR)
helm registry login ghcr.io
helm install my-release oci://ghcr.io/k8sonlab/publiccharts/github-exporter --version <chart-version>
Maintainers
| Name | Url | |
|---|---|---|
| varet80 | https://github.com/varet80 |
Source Code
Values
| Key | Type | Default | Description |
|---|---|---|---|
| replicaCount | int | 1 | |
| image.repository | string | "githubexporter/github-exporter" | |
| image.pullPolicy | string | "IfNotPresent" | |
| image.tag | string | nil | Overrides the image tag. Upstream publishes Docker tags as release-. |
| imagePullSecrets | list | [] | |
| nameOverride | string | "" | |
| fullnameOverride | string | "" | |
| serviceAccount.create | bool | true | Specifies whether a service account should be created |
| serviceAccount.annotations | object | {} | Annotations to add to the service account |
| serviceAccount.name | string | "" | The name of the service account to use. If not set and create is true, a name is generated using the fullname template |
| podAnnotations | object | {} | |
| podSecurityContext | object | {} | |
| securityContext.capabilities.drop[0] | string | "ALL" | |
| securityContext.readOnlyRootFilesystem | bool | true | |
| securityContext.runAsNonRoot | bool | true | |
| securityContext.runAsUser | int | 1000 | |
| env | object | {"FETCH_REPO_RELEASES_ENABLED":"true","GITHUB_RATE_LIMIT_ENABLED":"true","GITHUB_RESULTS_PER_PAGE":"100","LISTEN_PORT":"9171","LOG_LEVEL":"info","METRICS_PATH":"/metrics"} | Environment variables for github-exporter. Set ORGS, REPOS, or USERS to choose what to monitor. |
| envSecretName | string | "" | Existing secret loaded as environment variables, for example GITHUB_TOKEN or GitHub App credentials. |
| secret.create | bool | false | Create a secret from secret.data and load it as environment variables. |
| secret.name | string | "" | Secret name. Defaults to the chart fullname when create is true. |
| secret.data | object | {} | Secret values exposed as environment variables, such as GITHUB_TOKEN. |
| service.type | string | "ClusterIP" | |
| service.port | int | 9171 | |
| probes.liveness.enabled | bool | true | |
| probes.liveness.path | string | "/" | |
| probes.liveness.initialDelaySeconds | int | 10 | |
| probes.liveness.failureThreshold | int | 5 | |
| probes.liveness.timeoutSeconds | int | 5 | |
| probes.liveness.periodSeconds | int | 10 | |
| probes.readiness.enabled | bool | true | |
| probes.readiness.path | string | "/metrics" | |
| probes.readiness.initialDelaySeconds | int | 10 | |
| probes.readiness.failureThreshold | int | 5 | |
| probes.readiness.timeoutSeconds | int | 5 | |
| probes.readiness.periodSeconds | int | 20 | |
| probes.startup.enabled | bool | true | |
| probes.startup.path | string | "/" | |
| probes.startup.initialDelaySeconds | int | 10 | |
| probes.startup.failureThreshold | int | 60 | |
| probes.startup.timeoutSeconds | int | 2 | |
| probes.startup.periodSeconds | int | 5 | |
| resources | object | {} | |
| nodeSelector | object | {} | |
| tolerations | list | [] | |
| affinity | object | {} | |
| extraVolumes | list | [] | |
| extraVolumeMounts | list | [] | |
| serviceMonitor | object | {"enabled":false,"endpointAdditions":{},"interval":"30s","labels":{},"namespaceSelector":{}} | Support Prometheus ServiceMonitor |
| serviceMonitor.enabled | bool | false | enable Service Monitor |
| serviceMonitor.labels | object | {} | add Custom labels, for prometheus Service Monitor |
| serviceMonitor.interval | string | "30s" | interval |
| serviceMonitor.namespaceSelector | object | {} | namespace selector |
| serviceMonitor.endpointAdditions | object | {} | endpoint additions - add endpoint modifications |
Deploy github-exporter with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has github-exporter on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartgithub-exporter is pinned at v0.0.4 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply