Integrate collectd, prometheus and grafana.
[multicloud/k8s.git] / kud / tests / vnfs / comp-app / collection / app2 / helm / prometheus / templates / servicemonitor.yaml
diff --git a/kud/tests/vnfs/comp-app/collection/app2/helm/prometheus/templates/servicemonitor.yaml b/kud/tests/vnfs/comp-app/collection/app2/helm/prometheus/templates/servicemonitor.yaml
deleted file mode 100644 (file)
index ea2b81b..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-{{- if .Values.prometheus.additionalServiceMonitors }}
-apiVersion: v1
-kind: List
-items:
-{{- range .Values.prometheus.additionalServiceMonitors }}
-  - apiVersion: "monitoring.coreos.com/v1"
-    kind: ServiceMonitor
-    metadata:
-      name: {{ .name }}
-      "helm.sh/hook": post-install
-      "helm.sh/hook-weight": "1"
-      labels:
-        app: {{ template "prometheus.name" $ }}-prometheus
-{{ include "prometheus.labels" $ | indent 8 }}
-        {{- if .additionalLabels }}
-{{ toYaml .additionalLabels | indent 8 }}
-        {{- end }}
-    spec:
-      endpoints:
-{{ toYaml .endpoints | indent 8 }}
-    {{- if .jobLabel }}
-      jobLabel: {{ .jobLabel }}
-    {{- end }}
-      namespaceSelector:
-        matchNames:
-          - {{ $.Release.Namespace | quote }}
-      selector:
-{{ toYaml .selector  | indent 8  }}  release: {{ $.Release.Name | quote }}
-{{- end }}
-{{- end }}