mirror of
https://github.com/bitnami/charts.git
synced 2026-02-20 20:17:21 +08:00
[bitnami/jenkins] fix: jenkins metrics service and servicemonitor (#9368)
This commit is contained in:
@@ -26,4 +26,4 @@ name: jenkins
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-jenkins
|
||||
- https://jenkins.io/
|
||||
version: 9.0.6
|
||||
version: 9.0.7
|
||||
|
||||
@@ -15,7 +15,7 @@ metadata:
|
||||
{{- if .Values.metrics.serviceMonitor.labels }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.metrics.serviceMonitor.labels "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
app.kubernetes.io/component: metrics
|
||||
app.kubernetes.io/component: metrics
|
||||
{{- if .Values.commonAnnotations }}
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -631,7 +631,7 @@ metrics:
|
||||
##
|
||||
annotations:
|
||||
prometheus.io/scrape: "true"
|
||||
prometheus.io/port: "{{ .Values.metrics.service.ports.http }}"
|
||||
prometheus.io/port: "{{ .Values.metrics.service.port }}"
|
||||
## Prometheus Service Monitor
|
||||
## ref: https://github.com/coreos/prometheus-operator
|
||||
## https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
|
||||
|
||||
Reference in New Issue
Block a user