Try to add the receiver by creating an AlertmanagerConfig
This commit is contained in:
parent
9c83039b46
commit
308da8b0fc
|
@ -2,4 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ./bridge-secrets.sops.yaml
|
- ./bridge-secrets.sops.yaml
|
||||||
|
- ./receiver-config.yaml
|
||||||
- ./helm-release.yaml
|
- ./helm-release.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'
|
|
@ -33,13 +33,6 @@ spec:
|
||||||
- *alertmanager-host
|
- *alertmanager-host
|
||||||
secretName: wildcard-main-tls
|
secretName: wildcard-main-tls
|
||||||
|
|
||||||
config:
|
|
||||||
receivers:
|
|
||||||
- name: gotify-bridge
|
|
||||||
webhook_configs:
|
|
||||||
- url: http://alertmanager-gotify-bridge.monitoring:8080/gotify_webhook
|
|
||||||
send_resolved: true
|
|
||||||
|
|
||||||
grafana:
|
grafana:
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
Loading…
Reference in New Issue