mirror of
https://github.com/nikdoof/helm-charts.git
synced 2025-12-25 07:39:23 +00:00
Add PrometheusRule and ServiceMonitor to common (#47)
* Add PrometheusRule and ServiceMonitor to common * Bump Kind version
This commit is contained in:
@@ -55,4 +55,12 @@ Main entrypoint for the common library chart. It will render all underlying temp
|
||||
{{- if .Values.secret -}}
|
||||
{{ include "common.secret" . | nindent 0 }}
|
||||
{{- end -}}
|
||||
|
||||
{{- if .Values.metrics.enabled -}}
|
||||
{{ include "common.serviceMonitor" . | nindent 0 }}
|
||||
{{- end -}}
|
||||
|
||||
{{- if and .Values.metrics.enabled .Values.metrics.prometheusRule.enabled -}}
|
||||
{{ include "common.prometheusRule" . | nindent 0 }}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
Reference in New Issue
Block a user