diff --git a/helm/robusta/templates/runner.yaml b/helm/robusta/templates/runner.yaml index 09882c603..ec5ceb1b3 100644 --- a/helm/robusta/templates/runner.yaml +++ b/helm/robusta/templates/runner.yaml @@ -218,6 +218,10 @@ metadata: labels: app: {{ include "robusta.fullname" . }}-runner target: {{ include "robusta.fullname" . }}-runner +{{- if .Values.runner.service.annotations }} + annotations: +{{ toYaml .Values.runner.service.annotations | indent 4 }} +{{- end }} spec: selector: app: {{ include "robusta.fullname" . }}-runner diff --git a/helm/robusta/values.yaml b/helm/robusta/values.yaml index d8a01880e..8a28c6bca 100644 --- a/helm/robusta/values.yaml +++ b/helm/robusta/values.yaml @@ -680,6 +680,10 @@ runner: imagePullSecrets: [] extraVolumes: [] extraVolumeMounts: [] + # k8s service config + service: + # custom service annotations + annotations: {} serviceMonitor: path: /metrics securityContext: