refactor(argo-workflows): reflect review points
Signed-off-by: yu-croco <yu.croco@gmail.com>
This commit is contained in:
parent
0f487a877f
commit
9c308cd7f3
1 changed files with 1 additions and 5 deletions
|
@ -3,11 +3,7 @@ apiVersion: monitoring.coreos.com/v1
|
|||
kind: ServiceMonitor
|
||||
metadata:
|
||||
name: {{ template "argo-workflows.controller.fullname" . }}
|
||||
{{- if .Values.controller.serviceMonitor.namespace }}
|
||||
namespace: {{ .Values.controller.serviceMonitor.namespace }}
|
||||
{{- else }}
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
{{- end }}
|
||||
namespace: {{ default .Release.Namespace .Values.controller.serviceMonitor.namespace | quote }}
|
||||
labels:
|
||||
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
||||
{{- with .Values.controller.serviceMonitor.additionalLabels }}
|
||||
|
|
Loading…
Reference in a new issue