Initial commit for chronos-umbrella
Change-Id: Ice4173f994e049c5ef333046438b27a1a396e234
diff --git a/chronos-exporter/templates/service.yaml b/chronos-exporter/templates/service.yaml
new file mode 100644
index 0000000..0bc44d0
--- /dev/null
+++ b/chronos-exporter/templates/service.yaml
@@ -0,0 +1,22 @@
+# SPDX-FileCopyrightText: 2021-present Open Networking Foundation <info@opennetworking.org>
+#
+# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
+apiVersion: v1
+kind: Service
+metadata:
+ name: {{ template "chronos-exporter.fullname" . }}
+ labels:
+ app: {{ template "chronos-exporter.fullname" . }}
+ chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
+ release: "{{ .Release.Name }}"
+ heritage: "{{ .Release.Service }}"
+ {{- include "chronos-exporter.labels" . | nindent 4 }}
+spec:
+ type: {{ .Values.service.type }}
+ selector:
+ name: {{ template "chronos-exporter.fullname" . }}
+ ports:
+ - name: metrics
+ port: 2112
+ - name: exporterui
+ port: 8081