From 3a9f3c3dadc2af99bbdd5408fe6b6fbe4581fdfa Mon Sep 17 00:00:00 2001 From: Kjeld Schouten-Lebbing Date: Fri, 14 Apr 2023 21:10:05 +0200 Subject: [PATCH] Delete servicemonitor.yaml Signed-off-by: Kjeld Schouten-Lebbing --- .../unpoller/templates/servicemonitor.yaml | 24 ------------------- 1 file changed, 24 deletions(-) delete mode 100644 charts/stable/unpoller/templates/servicemonitor.yaml diff --git a/charts/stable/unpoller/templates/servicemonitor.yaml b/charts/stable/unpoller/templates/servicemonitor.yaml deleted file mode 100644 index 9e5ddea1095..00000000000 --- a/charts/stable/unpoller/templates/servicemonitor.yaml +++ /dev/null @@ -1,24 +0,0 @@ -{{- if .Values.metrics.enabled }} -apiVersion: monitoring.coreos.com/v1 -kind: ServiceMonitor -metadata: - name: {{ include "tc.common.names.fullname" . }} - labels: - {{- include "tc.common.labels" . | nindent 4 }} - {{- with .Values.metrics.serviceMonitor.labels }} - {{- toYaml . | nindent 4 }} - {{- end }} -spec: - selector: - matchLabels: - {{- include "tc.common.labels.selectorLabels" . | nindent 6 }} - endpoints: - - port: metrics - {{- with .Values.metrics.serviceMonitor.interval }} - interval: {{ . }} - {{- end }} - {{- with .Values.metrics.serviceMonitor.scrapeTimeout }} - scrapeTimeout: {{ . }} - {{- end }} - path: /metrics -{{- end }}