Commit b08f610 1 parent 8e7d901 commit b08f610 Copy full SHA for b08f610
File tree 4 files changed +22
-2
lines changed
4 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ charts-dir: squadcast-helm
5
5
sign : false
6
6
charts_repo_url : https://squadcasthub.github.io/helm-infra
7
7
index-path : .
8
- version : 0.2.5
8
+ version : 0.2.6
Original file line number Diff line number Diff line change @@ -3,6 +3,6 @@ name: squadcast-helm
3
3
description : A Helm chart for Kubernetes
4
4
type : application
5
5
6
- version : 0.2.5
6
+ version : 0.2.6
7
7
8
8
appVersion : " 1.16.0"
Original file line number Diff line number Diff line change
1
+ {{- if ((.Values.serviceMonitor)).enabled | default false }}
2
+ apiVersion : monitoring.coreos.com/v1
3
+ kind : ServiceMonitor
4
+ metadata :
5
+ labels :
6
+ team : SRE
7
+ name : {{ include "squadcast-helm.fullname" . }}-metrics
8
+ spec :
9
+ endpoints :
10
+ - interval : {{ .Values.serviceMonitor.interval | default "1m" }}
11
+ port : {{ .Values.serviceMonitor.port_name | default "metrics" }}
12
+ selector :
13
+ matchLabels :
14
+ {{- include "squadcast-helm.selectorLabels" . | nindent 6 }}
15
+ {{- end }}
Original file line number Diff line number Diff line change @@ -82,6 +82,11 @@ tolerations: []
82
82
83
83
affinity : {}
84
84
85
+ # To enable service monitor.
86
+ serviceMonitor :
87
+ enabled : false
88
+ port_name : metrics
89
+
85
90
# cronjobs:
86
91
# enabled: false
87
92
# jobs:
You can’t perform that action at this time.
0 commit comments