Skip to content

Commit f9a8390

Browse files
committed
chore(k8s/magiclove/vm): set external url for vmalert
1 parent 979b834 commit f9a8390

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

k8s/magiclove/vm/vm_alert_list.cue

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,12 @@ import (
4444
targetPort: "http"
4545
}]
4646
notifiers: [{selector: labelSelector: matchLabels: "app.kubernetes.io/name": #Name}]
47-
remoteWrite: url: "http://vmsingle-vm:8429/api/v1/write"
48-
remoteRead: url: "http://vmsingle-vm:8429"
49-
datasource: url: "http://vmsingle-vm:8429"
50-
extraArgs: "remoteWrite.disablePathAppend": "true"
47+
remoteWrite: url: "http://vmsingle-vm:8429/api/v1/write"
48+
remoteRead: url: "http://vmsingle-vm:8429"
49+
datasource: url: "http://vmsingle-vm:8429"
50+
extraArgs: {
51+
"external.url": "https://vmalert-magiclove.hipparcos.net"
52+
"remoteWrite.disablePathAppend": "true"
53+
}
5154
}
5255
}]

0 commit comments

Comments
 (0)