File tree Expand file tree Collapse file tree 2 files changed +32
-22
lines changed
templates/virtualization-controller Expand file tree Collapse file tree 2 files changed +32
-22
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ {{- if (.Values.global.enabledModules | has "operator-prometheus-crd") }}
2+ ---
3+ apiVersion : monitoring.coreos.com/v1
4+ kind : ServiceMonitor
5+ metadata :
6+ name : virtualization-controller
7+ namespace : d8-monitoring
8+ {{- include "helm_lib_module_labels" (list . (dict "app" "virtualization-controller" "prometheus" "main")) | nindent 2 }}
9+ spec :
10+ endpoints :
11+ - bearerTokenSecret :
12+ key : token
13+ name : prometheus-token
14+ path : /metrics
15+ port : metrics
16+ scheme : https
17+ tlsConfig :
18+ insecureSkipVerify : true
19+ metricRelabelings :
20+ # exported_namespace -> namespace
21+ - action : replace
22+ sourceLabels :
23+ - exported_namespace
24+ targetLabel : namespace
25+ namespaceSelector :
26+ matchNames :
27+ - d8-{{ .Chart.Name }}
28+ selector :
29+ matchLabels :
30+ app : " virtualization-controller"
31+
32+ {{- end }}
You can’t perform that action at this time.
0 commit comments