feat(argo-workflows): argo workflows chart to allow set the namespace of Prometheus ServiceMonitor. (#1104)
* feat(argo-workflows): argo workflows chart to allow set the namespace of Prometheus ServiceMonitor. Signed-off-by: mugioka <okamugi0722@gmail.com> * Bump minor chart version Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
parent
cf57a71a15
commit
4c1ee93faf
4 changed files with 8 additions and 2 deletions
|
|
@ -3,6 +3,9 @@ apiVersion: monitoring.coreos.com/v1
|
|||
kind: ServiceMonitor
|
||||
metadata:
|
||||
name: {{ template "argo-workflows.controller.fullname" . }}
|
||||
{{- with .Values.controller.serviceMonitor.namespace }}
|
||||
namespace: {{ . }}
|
||||
{{- end }}
|
||||
labels:
|
||||
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
||||
{{- with .Values.controller.serviceMonitor.additionalLabels }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue