Skip to content

Commit

Permalink
make charts
Browse files Browse the repository at this point in the history
  • Loading branch information
p-se committed May 16, 2024
1 parent 93b132a commit 53a6d50
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
Binary file modified assets/rancher-monitoring/rancher-monitoring-104.0.2+up45.31.1.tgz
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{{- if .Values.rancherMonitoring.enabled }}
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
labels: {{ include "kube-prometheus-stack.labels" . | nindent 4 }}
name: fleet
namespace: cattle-fleet-system
spec:
endpoints:
- port: metrics
metricRelabelings:
{{ if .Values.global.cattle.clusterId }}
- sourceLabels: [__address__]
targetLabel: cluster_id
replacement: {{ .Values.global.cattle.clusterId }}
{{- end }}
{{ if .Values.global.cattle.clusterName}}
- sourceLabels: [__address__]
targetLabel: cluster_name
replacement: {{ .Values.global.cattle.clusterName }}
{{- end }}
jobLabel: fleet
selector:
matchLabels:
app: fleet-controller
{{- end }}
4 changes: 2 additions & 2 deletions index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13179,7 +13179,7 @@ entries:
catalog.cattle.io/upstream-version: 45.31.1
apiVersion: v2
appVersion: v0.65.1
created: "2024-02-13T11:33:45.217219911-05:00"
created: "2024-05-16T17:47:34.359151219+02:00"
dependencies:
- condition: grafana.enabled
name: grafana
Expand Down Expand Up @@ -13251,7 +13251,7 @@ entries:
and Prometheus rules combined with documentation and scripts to provide easy
to operate end-to-end Kubernetes cluster monitoring with Prometheus using the
Prometheus Operator.
digest: 998cdfa88b5bc106e9552bfe160a4a3fc6ff77d861dcfebaa8f752ee19c60aa6
digest: 5ec47ead6a873904d67a22f1f3f3db432145ab0f86c673723631b2ba9240318e
home: https://github.com/prometheus-operator/kube-prometheus
icon: file://assets/logos/rancher-monitoring.png
keywords:
Expand Down

0 comments on commit 53a6d50

Please sign in to comment.