blob: 9c82225354774e0b857c9823376de2d0d946cf38 [file] [log] [blame]
Scott Bakerc9d3d842021-09-17 11:32:53 -07001# SPDX-FileCopyrightText: 2020-present Open Networking Foundation <info@opennetworking.org>
2#
3# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
4
5apiVersion: v1
6kind: Service
7metadata:
8 name: {{ include "aether-roc-api.fullname" . }}
9 labels:
10 app: {{ template "aether-roc-api.fullname" . }}
11 chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
12 release: "{{ .Release.Name }}"
13 heritage: "{{ .Release.Service }}"
14 {{- include "aether-roc-api.labels" . | nindent 4 }}
15spec:
16 type: {{ .Values.service.type }}
17 selector:
18 name: {{ template "aether-roc-api.fullname" . }}
19 app: aether
20 type: api
21 resource: {{ template "aether-roc-api.fullname" . }}
22 {{- include "aether-roc-api.selectorLabels" . | nindent 4 }}
23 ports:
24 - name: rest
25 port: 8181