Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
Signed-off-by: Matej Gera <matejgera@gmail.com>
  • Loading branch information
matej-g committed Mar 6, 2024
1 parent 9283815 commit 28f23d9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,5 @@ data:
matchexpressions: []
matchlabels:
app: example-app
service_monitor_selector:
matchlabels: {}
matchexpressions: []
service_monitor_selector: {}
scrape_configs: []
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spec:
template:
metadata:
annotations:
checksum/config: 8d4c5822f217a437f407eb799fa268aa0fb7c35d8f86a1854c082823c318aa9f
checksum/config: fe1e2213dfddbf957fff2e2fe88f97e97df5d484e003b64e24681cff04a12a69

labels:
app.kubernetes.io/name: opentelemetry-collector-target-allocator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,13 @@ data:
pod_monitor_selector:
{{- include "opentelemetry-target-allocator.podMonitorSelector" . | nindent 8 }}
{{- else }}
pod_monitor_selector:
matchlabels: {}
matchexpressions: []
pod_monitor_selector: {}
{{- end }}
{{- if .Values.targetAllocator.prometheusCR.serviceMonitorSelector }}
service_monitor_selector:
{{- include "opentelemetry-target-allocator.serviceMonitorSelector" . | nindent 8 }}
{{- else }}
service_monitor_selector:
matchlabels: {}
matchexpressions: []
service_monitor_selector: {}
{{- end }}
scrape_configs: []
{{- end }}
Expand Down

0 comments on commit 28f23d9

Please sign in to comment.