PUSHP RAJ | 3bdfd96 | 2022-01-18 12:20:32 +0000 | [diff] [blame] | 1 | # SPDX-FileCopyrightText: 2022-present Open Networking Foundation <info@opennetworking.org>
|
| 2 | #
|
| 3 | # SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
|
| 4 | apiVersion: v1
|
| 5 | kind: Service
|
| 6 | metadata:
|
| 7 | name: {{ template "rasa-model-server.fullname" . }}
|
| 8 | labels:
|
| 9 | app: {{ template "rasa-model-server.fullname" . }}
|
| 10 | chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
| 11 | release: "{{ .Release.Name }}"
|
| 12 | heritage: "{{ .Release.Service }}"
|
| 13 | {{- include "rasa-model-server.labels" . | nindent 4 }}
|
| 14 | spec:
|
| 15 | type: {{ .Values.service.type }}
|
| 16 | selector:
|
| 17 | name: {{ template "rasa-model-server.fullname" . }}
|
| 18 | ports:
|
| 19 | - name: models
|
| 20 | port: 8080
|