mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-04 17:07:04 +02:00
More paving the way
This commit is contained in:
parent
33f207c563
commit
4863146ad9
62 changed files with 2761 additions and 13 deletions
26
charts/apps/alertmanager-bot/.helmignore
Normal file
26
charts/apps/alertmanager-bot/.helmignore
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Patterns to ignore when building packages.
|
||||
# This supports shell glob matching, relative path matching, and
|
||||
# negation (prefixed with !). Only one pattern per line.
|
||||
.DS_Store
|
||||
# Common VCS dirs
|
||||
.git/
|
||||
.gitignore
|
||||
.bzr/
|
||||
.bzrignore
|
||||
.hg/
|
||||
.hgignore
|
||||
.svn/
|
||||
# Common backup files
|
||||
*.swp
|
||||
*.bak
|
||||
*.tmp
|
||||
*~
|
||||
# Various IDEs
|
||||
.project
|
||||
.idea/
|
||||
*.tmproj
|
||||
.vscode/
|
||||
# OWNERS file for Kubernetes
|
||||
OWNERS
|
||||
# helm-docs templates
|
||||
*.gotmpl
|
28
charts/apps/alertmanager-bot/Chart.yaml
Normal file
28
charts/apps/alertmanager-bot/Chart.yaml
Normal file
|
@ -0,0 +1,28 @@
|
|||
---
|
||||
apiVersion: v2
|
||||
appVersion: 0.4.3
|
||||
description: Bot for Prometheus Alertmanager
|
||||
name: alertmanager-bot
|
||||
version: 6.3.2
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
keywords:
|
||||
- alertmanager
|
||||
- telegram
|
||||
- bot
|
||||
- alerting
|
||||
home: https://github.com/k8s-at-home/charts/tree/master/charts/apps/alertmanager-bot
|
||||
icon: https://raw.githubusercontent.com/prometheus/prometheus.github.io/master/assets/prometheus_logo-cb55bb5c346.png
|
||||
sources:
|
||||
- https://hub.docker.com/r/metalmatze/alertmanager-bot
|
||||
- https://github.com/metalmatze/alertmanager-bot
|
||||
maintainers:
|
||||
- name: billimek
|
||||
email: jeff@billimek.com
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: https://library-charts.k8s-at-home.com
|
||||
version: 4.4.2
|
||||
annotations:
|
||||
artifacthub.io/changes: |-
|
||||
- kind: changed
|
||||
description: Upgraded `common` chart dependency to version 4.4.2
|
119
charts/apps/alertmanager-bot/README.md
Normal file
119
charts/apps/alertmanager-bot/README.md
Normal file
|
@ -0,0 +1,119 @@
|
|||
# alertmanager-bot
|
||||
|
||||
 
|
||||
|
||||
Bot for Prometheus Alertmanager
|
||||
|
||||
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
|
||||
|
||||
## Source Code
|
||||
|
||||
* <https://hub.docker.com/r/metalmatze/alertmanager-bot>
|
||||
* <https://github.com/metalmatze/alertmanager-bot>
|
||||
|
||||
## Requirements
|
||||
|
||||
Kubernetes: `>=1.16.0-0`
|
||||
|
||||
## Dependencies
|
||||
|
||||
| Repository | Name | Version |
|
||||
|------------|------|---------|
|
||||
| https://library-charts.k8s-at-home.com | common | 4.4.2 |
|
||||
|
||||
## TL;DR
|
||||
|
||||
```console
|
||||
helm repo add k8s-at-home https://k8s-at-home.com/charts/
|
||||
helm repo update
|
||||
helm install alertmanager-bot k8s-at-home/alertmanager-bot
|
||||
```
|
||||
|
||||
## Installing the Chart
|
||||
|
||||
To install the chart with the release name `alertmanager-bot`
|
||||
|
||||
```console
|
||||
helm install alertmanager-bot k8s-at-home/alertmanager-bot
|
||||
```
|
||||
|
||||
## Uninstalling the Chart
|
||||
|
||||
To uninstall the `alertmanager-bot` deployment
|
||||
|
||||
```console
|
||||
helm uninstall alertmanager-bot
|
||||
```
|
||||
|
||||
The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release.
|
||||
|
||||
## Configuration
|
||||
|
||||
Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values.
|
||||
Other values may be used from the [values.yaml](https://github.com/k8s-at-home/library-charts/tree/main/charts/apps/common/values.yaml) from the [common library](https://github.com/k8s-at-home/library-charts/tree/main/charts/apps/common).
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
|
||||
|
||||
```console
|
||||
helm install alertmanager-bot \
|
||||
--set env.TZ="America/New York" \
|
||||
k8s-at-home/alertmanager-bot
|
||||
```
|
||||
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
|
||||
|
||||
```console
|
||||
helm install alertmanager-bot k8s-at-home/alertmanager-bot -f values.yaml
|
||||
```
|
||||
|
||||
## Custom configuration
|
||||
|
||||
N/A
|
||||
|
||||
## Values
|
||||
|
||||
**Important**: When deploying an application Helm chart you can add more values from our common library chart [here](https://github.com/k8s-at-home/library-charts/tree/main/charts/apps/common)
|
||||
|
||||
| Key | Type | Default | Description |
|
||||
|-----|------|---------|-------------|
|
||||
| env | object | See below | environment variables. See [image docs](https://github.com/metalmatze/alertmanager-bot) for more configuration options. |
|
||||
| env.BOLT_PATH | string | `"/data/bot.db"` | Bolt database path |
|
||||
| env.STORE | string | `"bolt"` | Storage type |
|
||||
| env.TZ | string | `"UTC"` | Set the container timezone |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
|
||||
| image.repository | string | `"metalmatze/alertmanager-bot"` | image repository |
|
||||
| image.tag | string | `"0.4.3"` | image tag |
|
||||
| ingress | object | Disabled | Enable and configure ingress settings for the chart under this key. |
|
||||
| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
|
||||
| probes | object | Disabled | Configures probes for the chart. Normally this does not need to be modified. |
|
||||
| service | object | Disabled | Configures service settings for the chart. Normally this does not need to be modified. |
|
||||
|
||||
## Changelog
|
||||
|
||||
### Version 6.3.2
|
||||
|
||||
#### Added
|
||||
|
||||
N/A
|
||||
|
||||
#### Changed
|
||||
|
||||
* Upgraded `common` chart dependency to version 4.4.2
|
||||
|
||||
#### Fixed
|
||||
|
||||
N/A
|
||||
|
||||
### Older versions
|
||||
|
||||
A historical overview of changes can be found on [ArtifactHUB](https://artifacthub.io/packages/helm/k8s-at-home/alertmanager-bot?modal=changelog)
|
||||
|
||||
## Support
|
||||
|
||||
- See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/)
|
||||
- Open an [issue](https://github.com/k8s-at-home/charts/issues/new/choose)
|
||||
- Ask a [question](https://github.com/k8s-at-home/organization/discussions)
|
||||
- Join our [Discord](https://discord.gg/sTMX7Vh) community
|
||||
|
||||
----------------------------------------------
|
||||
Autogenerated from chart metadata using [helm-docs v0.1.1](https://github.com/k8s-at-home/helm-docs/releases/v0.1.1)
|
9
charts/apps/alertmanager-bot/README_CONFIG.md.gotmpl
Normal file
9
charts/apps/alertmanager-bot/README_CONFIG.md.gotmpl
Normal file
|
@ -0,0 +1,9 @@
|
|||
{{- define "custom.custom.configuration.header" -}}
|
||||
## Custom configuration
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.custom.configuration" -}}
|
||||
{{ template "custom.custom.configuration.header" . }}
|
||||
|
||||
N/A
|
||||
{{- end -}}
|
1
charts/apps/alertmanager-bot/templates/NOTES.txt
Normal file
1
charts/apps/alertmanager-bot/templates/NOTES.txt
Normal file
|
@ -0,0 +1 @@
|
|||
{{- include "common.notes.defaultNotes" . -}}
|
1
charts/apps/alertmanager-bot/templates/common.yaml
Normal file
1
charts/apps/alertmanager-bot/templates/common.yaml
Normal file
|
@ -0,0 +1 @@
|
|||
{{ include "common.all" . }}
|
52
charts/apps/alertmanager-bot/values.yaml
Normal file
52
charts/apps/alertmanager-bot/values.yaml
Normal file
|
@ -0,0 +1,52 @@
|
|||
#
|
||||
# IMPORTANT NOTE
|
||||
#
|
||||
# This chart inherits from our common library chart. You can check the default values/options here:
|
||||
# https://github.com/k8s-at-home/library-charts/tree/main/charts/apps/common/values.yaml
|
||||
#
|
||||
|
||||
image:
|
||||
# -- image repository
|
||||
repository: metalmatze/alertmanager-bot
|
||||
# -- image tag
|
||||
tag: 0.4.3
|
||||
# -- image pull policy
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
# -- environment variables. See [image docs](https://github.com/metalmatze/alertmanager-bot) for more configuration options.
|
||||
# @default -- See below
|
||||
env:
|
||||
# -- Set the container timezone
|
||||
TZ: UTC
|
||||
# -- Storage type
|
||||
STORE: bolt
|
||||
# -- Bolt database path
|
||||
BOLT_PATH: /data/bot.db
|
||||
|
||||
# -- Configures service settings for the chart. Normally this does not need to be modified.
|
||||
# @default -- Disabled
|
||||
service:
|
||||
main:
|
||||
enabled: false
|
||||
|
||||
# -- Enable and configure ingress settings for the chart under this key.
|
||||
# @default -- Disabled
|
||||
ingress:
|
||||
main:
|
||||
enabled: false
|
||||
|
||||
# -- Configures probes for the chart. Normally this does not need to be modified.
|
||||
# @default -- Disabled
|
||||
probes:
|
||||
liveness:
|
||||
enabled: false
|
||||
readiness:
|
||||
enabled: false
|
||||
startup:
|
||||
enabled: false
|
||||
|
||||
# -- Configure persistence settings for the chart under this key.
|
||||
# @default -- See values.yaml
|
||||
persistence:
|
||||
data:
|
||||
enabled: false
|
Loading…
Add table
Add a link
Reference in a new issue