diff --git a/charts/uptimerobot-prometheus/Chart.yaml b/charts/uptimerobot-prometheus/Chart.yaml index b2aeb16b..0c8a311e 100644 --- a/charts/uptimerobot-prometheus/Chart.yaml +++ b/charts/uptimerobot-prometheus/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: uptimerobot-prometheus description: Prometheus Exporter for the official uptimerobot CLI type: application -version: 2.0.0 +version: 2.0.1 appVersion: 0.0.1 keywords: - uptimerobot diff --git a/charts/uptimerobot-prometheus/templates/service.yaml b/charts/uptimerobot-prometheus/templates/service.yaml index d1807041..8e4b58f2 100644 --- a/charts/uptimerobot-prometheus/templates/service.yaml +++ b/charts/uptimerobot-prometheus/templates/service.yaml @@ -4,6 +4,10 @@ metadata: name: {{ include "uptimerobot-prometheus.fullname" . }} labels: {{- include "uptimerobot-prometheus.labels" . | nindent 4 }} +{{- if .Values.service.annotations }} + annotations: +{{ toYaml .Values.service.annotations | indent 4 }} +{{- end }} spec: type: {{ .Values.service.type }} ports: diff --git a/charts/uptimerobot-prometheus/values.yaml b/charts/uptimerobot-prometheus/values.yaml index 9960ffd6..2e382233 100644 --- a/charts/uptimerobot-prometheus/values.yaml +++ b/charts/uptimerobot-prometheus/values.yaml @@ -29,6 +29,10 @@ securityContext: {} service: type: ClusterIP port: 9705 + # Sometimes you may need to add annotations to the service + # to integrate with external operators + # annotations: + # prometheus.io/scrape: "true" resources: {} # We usually recommend not to specify default resources and to leave this as a conscious