Skip to content
Snippets Groups Projects
Verified Commit 7dffce74 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

shields: Add service-monitor to helm chart tempaltes

parent 17dcb49a
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.5.0
version: 0.6.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
......
{{- if .Values.monitoring.enabled -}}
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: {{ include "shields.fullname" . }}
labels:
{{- include "shields.labels" . | nindent 4 }}
spec:
endpoints:
- interval: 30s
path: /metrics
port: http
scheme: HTTP
namespaceSelector:
matchNames:
- {{ .Release.Namespace }}
selector:
matchLabels:
{{- include "shields.labels" . | nindent 6 }}
{{- end }}
......@@ -34,6 +34,9 @@ resources: {}
imagestream:
enabled: false
monitoring:
enabled: false
ingress:
enabled: false
className: ""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment