File tree Expand file tree Collapse file tree 3 files changed +15
-2
lines changed
Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
22name : kube-otel-stack
33description : Chart for sending Kubernetes metrics to Lightstep using the OpenTelemetry Operator.
44type : application
5- version : 0.2.1
5+ version : 0.2.2
66appVersion : 0.70.0
77dependencies :
88# cert manager must be manually installed because it has CRDs
Original file line number Diff line number Diff line change 2121 image : {{ $collector.targetallocator.image }}
2222 replicas : {{ $collector.targetallocator.replicas }}
2323 allocationStrategy : {{ $collector.targetallocator.allocationStrategy }}
24+ {{- if $collector.targetallocator.filterStrategy }}
25+ filterStrategy : {{ $collector.targetallocator.filterStrategy }}
26+ {{- end }}
27+ {{- if $collector.targetallocator.prometheusCR.enabled }}
2428 prometheusCR :
25- enabled : {{ $collector.targetallocator.prometheusCR.enabled }}
29+ {{- with $collector.targetallocator.prometheusCR }}
30+ {{- toYaml . | nindent 6 }}
31+ {{- end }}
32+ {{- end }}
2633{{- end }}
2734{{- end }}
2835 env :
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ apiVersion: monitoring.coreos.com/v1
66kind : ServiceMonitor
77metadata :
88 name : {{ $collectorName }}-collector
9+ labels :
10+ {{ include "kube-otel-stack.labels" $ | indent 4 }}
911spec :
1012 endpoints :
1113 - path : /metrics
@@ -21,6 +23,8 @@ apiVersion: monitoring.coreos.com/v1
2123kind : ServiceMonitor
2224metadata :
2325 name : {{ $collectorName }}-targetallocator
26+ labels :
27+ {{ include "kube-otel-stack.labels" $ | indent 4 }}
2428spec :
2529 endpoints :
2630 - path : /metrics
@@ -38,6 +42,8 @@ apiVersion: monitoring.coreos.com/v1
3842kind : ServiceMonitor
3943metadata :
4044 name : {{ .Release.Name }}-operator
45+ labels :
46+ {{ include "kube-otel-stack.labels" $ | indent 4 }}
4147spec :
4248 endpoints :
4349 - path : /metrics
You can’t perform that action at this time.
0 commit comments