Skip to content

Commit

Permalink
Merge pull request #266 from alanjino/main
Browse files Browse the repository at this point in the history
feat: cert-manager dashboard added
  • Loading branch information
akash4sh authored Jun 5, 2024
2 parents ceb99eb + d06b6b3 commit fa70e71
Show file tree
Hide file tree
Showing 3 changed files with 598 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/monitoring/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ dependencies:
description: A Helm chart for Monitoring
name: monitoring
type: application
version: 0.1.20
version: 0.1.21
31 changes: 31 additions & 0 deletions charts/monitoring/templates/cert-manager-servicemonitor.yaml
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
Loading

0 comments on commit fa70e71

Please sign in to comment.