Skip to content

Commit

Permalink
Add rancher monitoring constants
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <tamal@appscode.com>
  • Loading branch information
tamalsaha committed Sep 25, 2023
1 parent 535d851 commit e59241c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cluster/rancher.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ const (
LabelKeyRancherFieldProjectId = "field.cattle.io/projectId"
LabelKeyRancherHelmProjectId = "helm.cattle.io/projectId"
LabelKeyRancherHelmProjectOperated = "helm.cattle.io/helm-project-operated"

NamespaceRancherMonitoring = "cattle-monitoring-system"
PrometheusRancherMonitoring = "rancher-monitoring-prometheus"
)

func IsRancherManaged(mapper meta.RESTMapper) bool {
Expand Down

0 comments on commit e59241c

Please sign in to comment.