Skip to content

Commit

Permalink
Merge pull request #482 from tchelovilar/fix/prometheus-exporter-serv…
Browse files Browse the repository at this point in the history
…ice-monitor

Fix prometheus-exporter missing endpoints
  • Loading branch information
matthyx authored Sep 6, 2024
2 parents 4c3c49d + b2a46e7 commit 62ab327
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ metadata:
labels:
{{- include "kubescape-operator.labels" (dict "Chart" .Chart "Release" .Release "Values" .Values "app" .Values.prometheusExporter.name "tier" .Values.global.namespaceTier) | nindent 4 }}
spec:
endpoints:
- interval: 60s
path: /metrics
targetPort: 8080
namespaceSelector:
matchNames:
- {{ .Values.ksNamespace }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4568,6 +4568,10 @@ all capabilities:
name: prometheus-exporter
namespace: kubescape
spec:
endpoints:
- interval: 60s
path: /metrics
targetPort: 8080
namespaceSelector:
matchNames:
- kubescape
Expand Down

0 comments on commit 62ab327

Please sign in to comment.