Update servicemonitor.yaml to allow for namespace to be set
Signed-off-by: Nick Kampe <Kampe@users.noreply.github.com>
This commit is contained in:
parent
4e0698ec43
commit
4279a2b0b2
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ apiVersion: monitoring.coreos.com/v1
|
|||
kind: ServiceMonitor
|
||||
metadata:
|
||||
name: {{ include "argo-rollouts.fullname" . }}
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
namespace: {{ default .Release.Namespace .Values.controller.metrics.serviceMonitor.namespace | quote }}
|
||||
labels:
|
||||
app.kubernetes.io/component: {{ .Values.controller.component }}
|
||||
{{- include "argo-rollouts.labels" . | nindent 4 }}
|
||||
|
|
Loading…
Reference in a new issue