-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #266 from alanjino/main
feat: cert-manager dashboard added
- Loading branch information
Showing
3 changed files
with
598 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
charts/monitoring/templates/cert-manager-servicemonitor.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
apiVersion: monitoring.coreos.com/v1 | ||
kind: ServiceMonitor | ||
metadata: | ||
name: {{ include "monitoring.fullname" . }}-cert-manager | ||
labels: | ||
app.kubernetes.io/name: cert-manager | ||
app.kubernetes.io/instance: cert-manager | ||
app.kubernetes.io/component: "controller" | ||
release: prometheus | ||
spec: | ||
jobLabel: cert-manager | ||
selector: | ||
matchLabels: | ||
app.kubernetes.io/name: cert-manager | ||
app.kubernetes.io/instance: cert-manager | ||
app.kubernetes.io/component: "controller" | ||
endpoints: | ||
- targetPort: 9402 | ||
path: /metrics | ||
interval: 60s | ||
scrapeTimeout: 30s | ||
honorLabels: false | ||
metricRelabelings: | ||
- action: replace | ||
regex: .* | ||
replacement: {{ .Values.clustername }} | ||
separator: ; | ||
targetLabel: cluster_name | ||
namespaceSelector: | ||
matchNames: | ||
- cert-manager |
Oops, something went wrong.