fix(argocd-image-updater): add namespace field for namespace scoped resources (#1970)
Signed-off-by: yu-croco <yu.croco@gmail.com>
This commit is contained in:
parent
22356c77af
commit
29b753057b
10 changed files with 16 additions and 9 deletions
|
|
@ -3,9 +3,7 @@ apiVersion: monitoring.coreos.com/v1
|
|||
kind: ServiceMonitor
|
||||
metadata:
|
||||
name: {{ include "argocd-image-updater.fullname" . }}-metrics
|
||||
{{- with .Values.metrics.serviceMonitor.namespace }}
|
||||
namespace: {{ . }}
|
||||
{{- end }}
|
||||
namespace: {{ default .Release.Namespace .Values.metrics.serviceMonitor.namespace | quote }}
|
||||
labels:
|
||||
{{- include "argocd-image-updater.labels" . | nindent 4 }}
|
||||
{{- with .Values.metrics.serviceMonitor.selector }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue