You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`alertmanager_url`| string |`""`| Alertmanager UI base URL — enables "View Alert" button. Leave empty to omit. |
316
+
|`rancher_url`| string |`""`| Base URL of the Rancher server (e.g. `https://rancher.example.com`). Combined with `harvester_cluster_id` to build Rancher-authenticated proxy URLs for both buttons. Leave empty to omit buttons. |
317
+
|`harvester_cluster_id`| string |`""`| Rancher cluster ID for the Harvester cluster (e.g. `c-v7gvt`). Found in Rancher UI → Cluster Management. Required when `rancher_url` is set. |
316
318
|`monitoring_namespace`| string |`cattle-monitoring-system`| Namespace where rancher-monitoring runs |
317
319
|`dashboards_namespace`| string |`cattle-dashboards`| Namespace where Grafana picks up dashboard ConfigMaps |
318
320
|`runbook_base_url`| string |`https://wiki.internal/runbooks/harvester`| Base URL prepended to each alert's `runbook_url` annotation |
description="Google Chat incoming webhook URL for alert notifications."
22
22
}
23
23
24
-
variable"alertmanager_url" {
24
+
variable"rancher_url" {
25
25
type=string
26
26
default=""
27
-
description="Base URL of the Alertmanager UI (e.g. https://<rancher>/api/v1/namespaces/cattle-monitoring-system/services/http:rancher-monitoring-alertmanager:9093/proxy). Used for the 'View Alert' button in Google Chat cards. Leave empty to omit the button."
27
+
description="Base URL of the Rancher server (e.g. https://rancher.example.com). Combined with harvester_cluster_id to build Rancher-authenticated proxy URLs for the 'View Alert' and 'View in Prometheus' buttons. Leave empty to omit both buttons."
28
+
}
29
+
30
+
variable"harvester_cluster_id" {
31
+
type=string
32
+
default=""
33
+
description="Rancher cluster ID for the Harvester cluster (e.g. c-v7gvt). Found in Rancher UI → Cluster Management → cluster row. Required when rancher_url is set."
0 commit comments