UNCLASSIFIED - NO CUI

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

refactor(monitoring): prometheus service monitors updated

parent 04b42ac9
No related branches found
No related tags found
No related merge requests found
Pipeline #151273 waiting for manual action
......@@ -50,6 +50,9 @@ spec:
image:
pullSecrets:
- private-registry
prometheus:
prometheusSpec:
serviceMonitorSelectorNilUsesHelmValues: false
prometheus-node-exporter:
serviceAccount:
imagePullSecrets:
......@@ -57,23 +60,6 @@ spec:
kube-state-metrics:
imagePullSecrets:
- name: private-registry
{{- if .Values.addons.gitlabRunner.enabled }}
prometheus:
additionalServiceMonitors:
{{- if .Values.addons.gitlabRunner.enabled }}
- name: gitlab-gitlab-runner
namespaceSelector:
matchNames:
- gitlab
selector:
matchLabels:
release: gitlab-runner
endpoints:
- port: metrics
path: /metrics
{{- end }}
{{- end }}
{{- if .Values.monitoring.sso.enabled }}
ingress:
prometheus:
......@@ -98,4 +84,4 @@ spec:
namespace: {{ .Release.Namespace }}
{{- end }}
{{- end }}
{{- end }}
\ No newline at end of file
{{- end }}
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