prometheus-fail2ban-exporte.../README.md
Markus Pesch 45ed6d61c1
Some checks failed
continuous-integration/drone/push Build is failing
fix: move templates into chart dir
2025-01-04 22:31:00 +01:00

68 lines
2.7 KiB
Markdown

# Prometheus Fail2Ban exporter
[![Build Status](https://drone.cryptic.systems/api/badges/volker.raschek/prometheus-fail2ban-exporter-charts/status.svg)](https://drone.cryptic.systems/volker.raschek/prometheus-fail2ban-exporter-charts)
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/volker-raschek)](https://artifacthub.io/packages/search?repo=volker-raschek)
This helm chart contains a daemonset to deploy a fail2ban metric exporter on kubernetes nodes, which have fail2ban
locally installed and configured.
The fail2ban exporter was repackaged to make it possible to deploy the application on kubernetes. The forked fail2ban
exporter can be found [here](https://git.cryptic.systems/volker.raschek/prometheus-fail2ban-exporter).
This helm chart can be found on [artifacthub.io](https://artifacthub.io/) and can be installed via helm.
```bash
helm repo add volker.raschek https://charts.cryptic.systems/volker.raschek
helm install prometheus-fail2ban-exporter volker.raschek/prometheus-fail2ban-exporter
```
## Customization
All [configuration
options](https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/blob/235d34114bdf6c99f8b8154240c007b2491248ea/cfg/cfg.go#L12)
can be defined in the `values.yml` file below the `config` section. Alternatively can be the options passed via the
`--set` flag of the `helm install` command.
## Parameters
### Affinity
| Name | Description | Value |
| ---------- | ---------------------------------------------- | ----- |
| `affinity` | Affinity for the postgres-exporter deployment. | `{}` |
### Configuration
### Image
| Name | Description | Value |
| ------------------ | -------------------------------------------------------- | ----------------------------------------------------------------- |
| `image.repository` | Image repository, eg. `library/busybox`. | `git.cryptic.systems/volker.raschek/prometheus-fail2ban-exporter` |
| `image.pullPolicy` | Image pull policy. | `Always` |
| `image.tag` | Custom image tag, eg. `0.1.0`. Defaults to `appVersion`. | `""` |
| `imagePullSecrets` | Secret to use for pulling the image. | `[]` |
### Ingress
### NodeSelector
### PodAnnotations
### PodPriorityClassName
### PodSecurityContext
### Resources
### SecurityContext
### Service
### ServiceMonitor
### Tolerations
### VolumeMounts
### Volume