UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit adbd8c30 authored by Michael McLeroy's avatar Michael McLeroy
Browse files

fix(monitoring): addl service monitors under prometheus heading

parent 63abc04c
No related branches found
No related tags found
No related merge requests found
......@@ -56,20 +56,21 @@ spec:
imagePullSecrets:
- name: private-registry
{{- if .Values.addons.gitlabRunner.enabled }}
additionalServiceMonitors:
{{- if .Values.addons.gitlabRunner.enabled }}
- name: gitlab-gitlab-runner
namespaceSelector:
matchNames:
- gitlab
selector:
matchLables:
release: gitlab-runner
endpoints:
- port: metrics
path: /metrics
{{- end }}
{{- end }}
prometheus:
additionalServiceMonitors:
{{- if .Values.addons.gitlabRunner.enabled }}
- name: gitlab-gitlab-runner
namespaceSelector:
matchNames:
- gitlab
selector:
matchLables:
release: gitlab-runner
endpoints:
- port: metrics
path: /metrics
{{- end }}
{{- end -}}
# TODO: DRY this up
{{- if or .Values.gatekeeper.enabled .Values.istio.enabled }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment