File tree Expand file tree Collapse file tree 4 files changed +9
-0
lines changed Expand file tree Collapse file tree 4 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 7373| pyroscope.resources | object | ` {} ` | |
7474| pyroscope.securityContext | object | ` {} ` | |
7575| pyroscope.service.annotations | object | ` {} ` | |
76+ | pyroscope.service.headlessAnnotations | object | ` {} ` | |
7677| pyroscope.service.port | int | ` 4040 ` | |
7778| pyroscope.service.port_name | string | ` "http2" ` | |
7879| pyroscope.service.scheme | string | ` "HTTP" ` | |
Original file line number Diff line number Diff line change @@ -37,9 +37,15 @@ metadata:
3737 labels :
3838 {{- include "pyroscope.labels" . | nindent 4 }}
3939 app.kubernetes.io/component : {{ $component | quote }}
40+ {{- if or .Values.serviceMonitor.enabled $values.service.headlessAnnotations }}
41+ annotations :
4042 {{- if .Values.serviceMonitor.enabled }}
4143 prometheus.io/service-monitor : " false"
4244 {{- end }}
45+ {{- with $values.service.headlessAnnotations }}
46+ {{- toYaml . | nindent 4 }}
47+ {{- end }}
48+ {{- end }}
4349spec :
4450 type : ClusterIP
4551 clusterIP : None
Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ pyroscope:
8888 port_name : http2
8989 scheme : HTTP
9090 annotations : {}
91+ headlessAnnotations : {}
9192
9293 memberlist :
9394 port : 7946
Original file line number Diff line number Diff line change 141141 "securityContext" : {},
142142 "service" : {
143143 "annotations" : {},
144+ "headlessAnnotations" : {},
144145 "port" : 4040 ,
145146 "port_name" : " http2" ,
146147 "scheme" : " HTTP" ,
You can’t perform that action at this time.
0 commit comments