Chronos exporter: added rasa-model-server helm chart(AETHER-2977)
Change-Id: Ib62791c2f609b21844b4575fae543fd1ee7a0d00
diff --git a/rasa-model-server/templates/service.yaml b/rasa-model-server/templates/service.yaml
new file mode 100644
index 0000000..56e85d2
--- /dev/null
+++ b/rasa-model-server/templates/service.yaml
@@ -0,0 +1,20 @@
+# SPDX-FileCopyrightText: 2022-present Open Networking Foundation <info@opennetworking.org>
+#
+# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
+apiVersion: v1
+kind: Service
+metadata:
+ name: {{ template "rasa-model-server.fullname" . }}
+ labels:
+ app: {{ template "rasa-model-server.fullname" . }}
+ chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
+ release: "{{ .Release.Name }}"
+ heritage: "{{ .Release.Service }}"
+ {{- include "rasa-model-server.labels" . | nindent 4 }}
+spec:
+ type: {{ .Values.service.type }}
+ selector:
+ name: {{ template "rasa-model-server.fullname" . }}
+ ports:
+ - name: models
+ port: 8080