Remove path from values

Signed-off-by: Sergey Shaykhullin <sergeyshaykhullin@gmail.com>
This commit is contained in:
Sergey Shaykhullin 2021-05-21 10:23:44 +03:00
parent c73a9b8fdd
commit 3bbdd54e73
5 changed files with 4 additions and 16 deletions

View file

@ -20,9 +20,7 @@ spec:
{{- with .Values.controller.metrics.serviceMonitor.interval }}
interval: {{ . }}
{{- end }}
{{- with .Values.controller.metrics.serviceMonitor.path }}
path: {{ . }}
{{- end }}
path: /metrics
namespaceSelector:
matchNames:
- {{ .Release.Namespace }}

View file

@ -20,9 +20,7 @@ spec:
{{- with .Values.controller.metrics.serviceMonitor.interval }}
interval: {{ . }}
{{- end }}
{{- with .Values.controller.metrics.serviceMonitor.path }}
path: {{ . }}
{{- end }}
path: /metrics
namespaceSelector:
matchNames:
- {{ .Release.Namespace }}

View file

@ -20,9 +20,7 @@ spec:
{{- with .Values.controller.metrics.serviceMonitor.interval }}
interval: {{ . }}
{{- end }}
{{- with .Values.controller.metrics.serviceMonitor.path }}
path: {{ . }}
{{- end }}
path: /metrics
namespaceSelector:
matchNames:
- {{ .Release.Namespace }}

View file

@ -20,9 +20,7 @@ spec:
{{- with .Values.controller.metrics.serviceMonitor.interval }}
interval: {{ . }}
{{- end }}
{{- with .Values.controller.metrics.serviceMonitor.path }}
path: {{ . }}
{{- end }}
path: /metrics
namespaceSelector:
matchNames:
- {{ .Release.Namespace }}

View file

@ -144,7 +144,6 @@ controller:
serviceMonitor:
enabled: false
interval: 30s
path: /metrics
# selector:
# prometheus: kube-prometheus
# namespace: monitoring
@ -206,7 +205,6 @@ dex:
serviceMonitor:
enabled: false
interval: 30s
path: /metrics
image:
repository: quay.io/dexidp/dex
@ -495,7 +493,6 @@ server:
serviceMonitor:
enabled: false
interval: 30s
path: /metrics
# selector:
# prometheus: kube-prometheus
# namespace: monitoring
@ -845,7 +842,6 @@ repoServer:
serviceMonitor:
enabled: false
interval: 30s
path: /metrics
# selector:
# prometheus: kube-prometheus
# namespace: monitoring