blob: 2dc747d0220a85fa05b3da4bc609f3de846d2516 [file] [log] [blame]
# SPDX-FileCopyrightText: 2020-present Open Networking Foundation <info@opennetworking.org>
#
# SPDX-License-Identifier: Apache-2.0
apiVersion: v1
kind: Service
metadata:
name: {{ include "aether-roc-api.fullname" . }}
labels:
app: {{ template "aether-roc-api.fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
{{- include "aether-roc-api.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
selector:
name: {{ template "aether-roc-api.fullname" . }}
app: aether
type: api
resource: {{ template "aether-roc-api.fullname" . }}
{{- include "aether-roc-api.selectorLabels" . | nindent 4 }}
ports:
- name: rest
port: 8181