aboutsummaryrefslogtreecommitdiffstats
path: root/kud/tests/vnfs/comp-app/collection/app2/helm/prometheus/templates/servicemonitor.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kud/tests/vnfs/comp-app/collection/app2/helm/prometheus/templates/servicemonitor.yaml')
-rw-r--r--kud/tests/vnfs/comp-app/collection/app2/helm/prometheus/templates/servicemonitor.yaml30
1 files changed, 0 insertions, 30 deletions
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
index ea2b81b6..00000000
--- a/kud/tests/vnfs/comp-app/collection/app2/helm/prometheus/templates/servicemonitor.yaml
+++ /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 }}