blob: 5d0bc961b92247f405ca842e9c9892215d9f7c6b [file] [log] [blame]
Sean Condond7d18342021-10-11 14:25:27 +01001# SPDX-FileCopyrightText: 2021-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-websocket.fullname" . }}
9 labels:
10 app: {{ template "aether-roc-websocket.fullname" . }}
11 chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
12 release: "{{ .Release.Name }}"
13 heritage: "{{ .Release.Service }}"
14 {{- include "aether-roc-websocket.labels" . | nindent 4 }}
15spec:
16 type: {{ .Values.service.type }}
17 selector:
18 name: {{ template "aether-roc-websocket.fullname" . }}
19 app: aether
20 type: ws
21 resource: {{ template "aether-roc-websocket.fullname" . }}
22 {{- include "aether-roc-websocket.selectorLabels" . | nindent 4 }}
23 ports:
24 - name: webhook
25 port: 80
26 targetPort: {{ .Values.port }}