diff --git a/cluster/apps/monitoring/alertmanager-gotify-bridge/kustomization.yaml b/cluster/apps/monitoring/alertmanager-gotify-bridge/kustomization.yaml index bf0d63d..6e0ef5c 100644 --- a/cluster/apps/monitoring/alertmanager-gotify-bridge/kustomization.yaml +++ b/cluster/apps/monitoring/alertmanager-gotify-bridge/kustomization.yaml @@ -2,4 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - ./bridge-secrets.sops.yaml +- ./receiver-config.yaml - ./helm-release.yaml \ No newline at end of file diff --git a/cluster/apps/monitoring/alertmanager-gotify-bridge/receiver-config.yaml b/cluster/apps/monitoring/alertmanager-gotify-bridge/receiver-config.yaml new file mode 100644 index 0000000..7fc4cb0 --- /dev/null +++ b/cluster/apps/monitoring/alertmanager-gotify-bridge/receiver-config.yaml @@ -0,0 +1,14 @@ +apiVersion: monitoring.coreos.com/v1alpha1 +kind: AlertmanagerConfig +metadata: + name: alertmanager-gotify-bridge-config + namespace: monitoring +spec: + receivers: + - name: gotify-bridge + webhook_configs: + - url: http://alertmanager-gotify-bridge.monitoring:8080/gotify_webhook + send_resolved: true + + route: + receiver: 'gotify-bridge' \ No newline at end of file diff --git a/cluster/apps/monitoring/kube-prometheus-stack/helm-release.yaml b/cluster/apps/monitoring/kube-prometheus-stack/helm-release.yaml index 62544af..dc8dec7 100644 --- a/cluster/apps/monitoring/kube-prometheus-stack/helm-release.yaml +++ b/cluster/apps/monitoring/kube-prometheus-stack/helm-release.yaml @@ -32,13 +32,6 @@ spec: - hosts: - *alertmanager-host secretName: wildcard-main-tls - - config: - receivers: - - name: gotify-bridge - webhook_configs: - - url: http://alertmanager-gotify-bridge.monitoring:8080/gotify_webhook - send_resolved: true grafana: ingress: