alert-webhooks-chart

by vincent119

Helm chartv1.0.2App v2.0.10Apache-2.0Verified publisher

A Helm chart for Alert Webhooks - Monitoring notification service

About this chart

alert-webhooks-chart

A Helm chart for Alert Webhooks - Monitoring notification service

Homepage: https://github.com/vincent119/alert-webhooks

Maintainers

NameEmailUrl
vincent119[email protected]

Source Code

Prerequisites

  • A reachable Kubernetes cluster and a kubeconfig with access to the target namespace.
  • Helm and kubectl. On macOS, install them with Homebrew:
brew install helm kubectl
helm version
kubectl version --client
kubectl config current-context

For other operating systems, see the Helm installation guide and kubectl installation guide. Before deployment, confirm that kubectl config current-context points to the intended cluster.

Security configuration

The Chart does not provide default webhook, metric, or notification service credentials. Supply secrets.metric.user, secrets.metric.password, secrets.webhooks.user, and secrets.webhooks.password through a private values file.

When config.telegram.enable, config.slack.enable, or config.discord.enable is true, provide the corresponding secrets.<service>.token. Trace authentication remains optional.

Do not commit real credentials to the repository or pass secrets through --set, which can leave them in shell history or CI logs. Store the private values file outside the repository and restrict its file permissions.

The following minimum example disables all notification services. Add tokens to the private values file only when enabling a service:

ingress:
  enabled: false

config:
  telegram:
    enable: false
  slack:
    enable: false
  discord:
    enable: false

secrets:
  metric:
    user: "REPLACE_METRIC_USER"
    password: "REPLACE_METRIC_PASSWORD"
  webhooks:
    user: "REPLACE_WEBHOOKS_USER"
    password: "REPLACE_WEBHOOKS_PASSWORD"

Version contract

  • Chart versions and application versions are managed independently.
  • A chart-v<Chart version> tag publishes only the matching immutable Chart package.
  • This release uses Chart version 1.0.2, application version v2.0.10, and container image tag v2.0.10 by default.
  • Published Chart versions are not overwritten, and the repository does not provide a mutable latest Chart.

Install from the public repository

Add the public Helm repository and select an explicit Chart version:

helm repo add alert-webhooks https://vincent119.github.io/alert-webhooks
helm repo update
helm show chart alert-webhooks/alert-webhooks-chart --version 1.0.2

Set the path to a private values file outside the repository:

PRIVATE_VALUES_FILE=/secure/path/alert-webhooks-values.yaml

Render the Chart without modifying the cluster:

helm template alert-webhooks alert-webhooks/alert-webhooks-chart \
  --version 1.0.2 \
  --namespace alert-webhooks \
  --values "${PRIVATE_VALUES_FILE}" \
  > /tmp/alert-webhooks-rendered.yaml

Review the rendered output for placeholders, unexpected image references, and secrets before continuing.

Install or upgrade after the rendered output has been reviewed:

helm upgrade --install alert-webhooks alert-webhooks/alert-webhooks-chart \
  --version 1.0.2 \
  --namespace alert-webhooks \
  --create-namespace \
  --values "${PRIVATE_VALUES_FILE}" \
  --atomic \
  --wait \
  --timeout 5m

Validate from source

Run the following commands from the repository root:

PRIVATE_VALUES_FILE=/secure/path/alert-webhooks-values.yaml
CHART_DIR=kubernetes/helm/alert-webhooks-chart

helm lint "${CHART_DIR}" --values "${PRIVATE_VALUES_FILE}"
helm template alert-webhooks "${CHART_DIR}" \
  --namespace alert-webhooks \
  --values "${PRIVATE_VALUES_FILE}" \
  > /tmp/alert-webhooks-rendered.yaml

Verify the deployment

helm status alert-webhooks --namespace alert-webhooks
kubectl get pods,service,ingress --namespace alert-webhooks
kubectl rollout status deployment \
  --namespace alert-webhooks \
  --selector app.kubernetes.io/instance=alert-webhooks \
  --timeout 5m

Do not continue with notification testing until the rollout completes and the Pods are ready.

Roll back or uninstall

List release revisions before selecting the revision to restore:

helm history alert-webhooks --namespace alert-webhooks
REVISION_NUMBER=1
helm rollback alert-webhooks "${REVISION_NUMBER}" \
  --namespace alert-webhooks \
  --wait \
  --timeout 5m

Uninstall the release with:

helm uninstall alert-webhooks --namespace alert-webhooks

helm uninstall does not delete the namespace automatically. Before deleting the namespace, confirm that it contains no unrelated workloads or retained resources.

Maintain this README

Maintain the hand-written content in README.md.gotmpl. Generate the values table with the repository-pinned helm-docs version:

make helm-docs

Do not edit the generated values table manually. The Traditional Chinese guide provides the same installation and lifecycle overview without duplicating the generated values reference.

Values

KeyTypeDefaultDescription
affinityobject{}
alertTemplateConfig.template_config.fallback_order[0]string"eng"
alertTemplateConfig.template_config.fallback_order[1]string"tw"
alertTemplateConfig.template_config.fallback_order[2]string"zh"
alertTemplateConfig.template_config.fallback_order[3]string"en"
alertTemplateConfig.template_config.format_options.compact_mode.descriptionstring"Compact mode (simplified display)"
alertTemplateConfig.template_config.format_options.compact_mode.enabledboolfalse
alertTemplateConfig.template_config.format_options.max_summary_length.descriptionstring"Maximum summary length"
alertTemplateConfig.template_config.format_options.max_summary_length.valueint200
alertTemplateConfig.template_config.format_options.show_emoji.descriptionstring"Whether to show emojis"
alertTemplateConfig.template_config.format_options.show_emoji.enabledbooltrue
alertTemplateConfig.template_config.format_options.show_external_url.descriptionstring"Whether to show external URLs"
alertTemplateConfig.template_config.format_options.show_external_url.enabledbooltrue
alertTemplateConfig.template_config.format_options.show_generator_url.descriptionstring"Whether to show generator URLs"
alertTemplateConfig.template_config.format_options.show_generator_url.enabledbooltrue
alertTemplateConfig.template_config.format_options.show_links.descriptionstring"Whether to show hyperlinks"
alertTemplateConfig.template_config.format_options.show_links.enabledbooltrue
alertTemplateConfig.template_config.format_options.show_timestamps.descriptionstring"Whether to show timestamps"
alertTemplateConfig.template_config.format_options.show_timestamps.enabledbooltrue
alertTemplateConfig.template_config.naming_convention.prefixstring"alert_template_"
alertTemplateConfig.template_config.naming_convention.priority_order[0]string".tmpl"
alertTemplateConfig.template_config.naming_convention.priority_order[1]string".j2"
alertTemplateConfig.template_config.naming_convention.supported_extensions[0]string".tmpl"
alertTemplateConfig.template_config.naming_convention.supported_extensions[1]string".j2"
alertTemplateConfig.template_config.supported_languages[0].codestring"eng"
alertTemplateConfig.template_config.supported_languages[0].descriptionstring"English template for alert notifications"
alertTemplateConfig.template_config.supported_languages[0].fallbackbooltrue
alertTemplateConfig.template_config.supported_languages[0].namestring"English"
alertTemplateConfig.template_config.supported_languages[1].codestring"tw"
alertTemplateConfig.template_config.supported_languages[1].descriptionstring"Traditional Chinese template for alert notifications"
alertTemplateConfig.template_config.supported_languages[1].fallbackboolfalse
alertTemplateConfig.template_config.supported_languages[1].namestring"繁體中文"
alertTemplateConfig.template_config.supported_languages[2].codestring"zh"
alertTemplateConfig.template_config.supported_languages[2].descriptionstring"Simplified Chinese template for alert notifications"
alertTemplateConfig.template_config.supported_languages[2].fallbackboolfalse
alertTemplateConfig.template_config.supported_languages[2].namestring"简体中文"
alertTemplateConfig.template_config.supported_languages[3].codestring"ko"
alertTemplateConfig.template_config.supported_languages[3].descriptionstring"Korean template for alert notifications"
alertTemplateConfig.template_config.supported_languages[3].fallbackboolfalse
alertTemplateConfig.template_config.supported_languages[3].namestring"한국어"
alertTemplateConfig.template_config.supported_languages[4].codestring"ja"
alertTemplateConfig.template_config.supported_languages[4].descriptionstring"Japanese template for alert notifications"
alertTemplateConfig.template_config.supported_languages[4].fallbackboolfalse
alertTemplateConfig.template_config.supported_languages[4].namestring"日本語"
alertTemplateConfig.template_config.versionstring"1.0.0"
alertTemplateConfigMinimal.template_config.fallback_order[0]string"eng"
alertTemplateConfigMinimal.template_config.fallback_order[1]string"tw"
alertTemplateConfigMinimal.template_config.fallback_order[2]string"zh"
alertTemplateConfigMinimal.template_config.format_options.compact_mode.descriptionstring"Compact mode (simplified display)"
alertTemplateConfigMinimal.template_config.format_options.compact_mode.enabledbooltrue
alertTemplateConfigMinimal.template_config.format_options.max_summary_length.descriptionstring"Maximum summary length"
alertTemplateConfigMinimal.template_config.format_options.max_summary_length.valueint100
alertTemplateConfigMinimal.template_config.format_options.show_emoji.descriptionstring"Whether to show emojis"
alertTemplateConfigMinimal.template_config.format_options.show_emoji.enabledbooltrue
alertTemplateConfigMinimal.template_config.format_options.show_external_url.descriptionstring"Whether to show external URLs"
alertTemplateConfigMinimal.template_config.format_options.show_external_url.enabledboolfalse
alertTemplateConfigMinimal.template_config.format_options.show_generator_url.descriptionstring"Whether to show generator URLs"
alertTemplateConfigMinimal.template_config.format_options.show_generator_url.enabledboolfalse
alertTemplateConfigMinimal.template_config.format_options.show_links.descriptionstring"Whether to show hyperlinks"
alertTemplateConfigMinimal.template_config.format_options.show_links.enabledboolfalse
alertTemplateConfigMinimal.template_config.format_options.show_timestamps.descriptionstring"Whether to show timestamps"
alertTemplateConfigMinimal.template_config.format_options.show_timestamps.enabledbooltrue
alertTemplateConfigMinimal.template_config.naming_convention.prefixstring"alert_template_"
alertTemplateConfigMinimal.template_config.naming_convention.priority_order[0]string".tmpl"
alertTemplateConfigMinimal.template_config.naming_convention.priority_order[1]string".j2"
alertTemplateConfigMinimal.template_config.naming_convention.supported_extensions[0]string".tmpl"
alertTemplateConfigMinimal.template_config.naming_convention.supported_extensions[1]string".j2"
alertTemplateConfigMinimal.template_config.supported_languages[0].codestring"eng"
alertTemplateConfigMinimal.template_config.supported_languages[0].descriptionstring"English template for alert notifications"
alertTemplateConfigMinimal.template_config.supported_languages[0].fallbackbooltrue
alertTemplateConfigMinimal.template_config.supported_languages[0].namestring"English"
alertTemplateConfigMinimal.template_config.supported_languages[1].codestring"tw"
alertTemplateConfigMinimal.template_config.supported_languages[1].descriptionstring"Traditional Chinese template for alert notifications"
alertTemplateConfigMinimal.template_config.supported_languages[1].fallbackboolfalse
alertTemplateConfigMinimal.template_config.supported_languages[1].namestring"繁體中文"
alertTemplateConfigMinimal.template_config.supported_languages[2].codestring"zh"
alertTemplateConfigMinimal.template_config.supported_languages[2].descriptionstring"Simplified Chinese template for alert notifications"
alertTemplateConfigMinimal.template_config.supported_languages[2].fallbackboolfalse
alertTemplateConfigMinimal.template_config.supported_languages[2].namestring"简体中文"
alertTemplateConfigMinimal.t

Deploy alert-webhooks-chart with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has alert-webhooks-chart 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartalert-webhooks-chart is pinned at v1.0.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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