[alertmanager-bot] Migrate to common v3 (#954)

Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
This commit is contained in:
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 2021-06-09 14:25:01 +02:00 committed by GitHub
parent 71a9087f05
commit 89e09bde2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 56 additions and 31 deletions

View File

@ -1,8 +1,8 @@
apiVersion: v2
appVersion: 0.4.2
appVersion: 0.4.3
description: Bot for Prometheus Alertmanager
name: alertmanager-bot
version: 4.4.0
version: 5.0.0
kubeVersion: ">=1.16.0-0"
keywords:
- alertmanager
@ -20,4 +20,4 @@ maintainers:
dependencies:
- name: common
repository: https://library-charts.k8s-at-home.com
version: 2.5.0
version: 3.0.1

View File

@ -1,6 +1,6 @@
# alertmanager-bot
![Version: 4.4.0](https://img.shields.io/badge/Version-4.4.0-informational?style=flat-square) ![AppVersion: 0.4.2](https://img.shields.io/badge/AppVersion-0.4.2-informational?style=flat-square)
![Version: 5.0.0](https://img.shields.io/badge/Version-5.0.0-informational?style=flat-square) ![AppVersion: 0.4.3](https://img.shields.io/badge/AppVersion-0.4.3-informational?style=flat-square)
Bot for Prometheus Alertmanager
@ -19,7 +19,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://library-charts.k8s-at-home.com | common | 2.5.0 |
| https://library-charts.k8s-at-home.com | common | 3.0.1 |
## TL;DR
@ -76,19 +76,17 @@ N/A
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| env.BOLT_PATH | string | `"/data/bot.db"` | |
| env.STORE | string | `"bolt"` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"metalmatze/alertmanager-bot"` | |
| image.tag | string | `"0.4.2"` | |
| ingress.enabled | bool | `false` | |
| persistence.data.emptyDir.enabled | bool | `false` | |
| persistence.data.enabled | bool | `false` | |
| probes.liveness.enabled | bool | `false` | |
| probes.readiness.enabled | bool | `false` | |
| probes.startup.enabled | bool | `false` | |
| service.enabled | bool | `false` | |
| strategy.type | string | `"Recreate"` | |
| 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
@ -96,6 +94,14 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [5.0.0]
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.0.0. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.0.0/charts/stable/common/) for the up-to-date values.
- Updated image tag to `0.4.3`.
### [4.3.2]
#### Added
@ -124,6 +130,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- N/A
[5.0.0]: #5.0.0
[4.3.2]: #4.3.2
[1.0.0]: #1.0.0

View File

@ -9,6 +9,14 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [5.0.0]
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.0.0. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.0.0/charts/stable/common/) for the up-to-date values.
- Updated image tag to `0.4.3`.
### [4.3.2]
#### Added
@ -37,6 +45,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- N/A
[5.0.0]: #5.0.0
[4.3.2]: #4.3.2
[1.0.0]: #1.0.0
{{- end -}}

View File

@ -6,28 +6,37 @@
#
image:
# -- image repository
repository: metalmatze/alertmanager-bot
# -- image tag
tag: 0.4.3
# -- image pull policy
pullPolicy: IfNotPresent
tag: 0.4.2
strategy:
type: Recreate
# See more environment varaibles in the alertmanager-botdocumentation
# https://github.com/metalmatze/alertmanager-bot
# -- 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
# ALERTMANAGER_URL:
# TELEGRAM_ADMIN:
# TELEGRAM_TOKEN:
# -- Configures service settings for the chart. Normally this does not need to be modified.
# @default -- Disabled
service:
enabled: false
main:
enabled: false
# -- Enable and configure ingress settings for the chart under this key.
# @default -- Disabled
ingress:
enabled: false
main:
enabled: false
# -- Configures probes for the chart. Normally this does not need to be modified.
# @default -- Disabled
probes:
liveness:
enabled: false
@ -36,8 +45,8 @@ probes:
startup:
enabled: false
# -- Configure persistence settings for the chart under this key.
# @default -- See values.yaml
persistence:
data:
enabled: false
emptyDir:
enabled: false