diff options
Diffstat (limited to 'vnfs/DAaaS/collection/charts/prometheus/templates/servicemonitor.yaml')
-rw-r--r-- | vnfs/DAaaS/collection/charts/prometheus/templates/servicemonitor.yaml | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/vnfs/DAaaS/collection/charts/prometheus/templates/servicemonitor.yaml b/vnfs/DAaaS/collection/charts/prometheus/templates/servicemonitor.yaml deleted file mode 100644 index ea2b81b6..00000000 --- a/vnfs/DAaaS/collection/charts/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 }} |