blob: ea5d8291fec94b4a418ab6255a7e299659aa8710 [file] [log] [blame]
{{- /*
# Copyright 2019-present Open Networking Foundation
#
# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
*/ -}}
---
apiVersion: v1
kind: Service
metadata:
name: accelleran-cbrs-ricweb
labels:
{{ tuple "accelleran-cbrs-ricweb" . | include "accelleran-cbrs-common.metadata_labels" | indent 4 }}
spec:
selector:
{{ tuple "accelleran-cbrs-ricweb" . | include "accelleran-cbrs-common.metadata_labels" | indent 4 }}
ports:
- name: ric-web-port
port: {{ .Values.config.ricWeb.ports.ricWebPort.port }}
protocol: {{ .Values.config.ricWeb.ports.ricWebPort.protocol }}
---
apiVersion: v1
kind: Service
metadata:
name: accelleran-cbrs-ricweb-exernal
labels:
{{ tuple "accelleran-cbrs-ricweb" . | include "accelleran-cbrs-common.metadata_labels" | indent 4 }}
spec:
selector:
{{ tuple "accelleran-cbrs-ricweb" . | include "accelleran-cbrs-common.metadata_labels" | indent 4 }}
type: NodePort
ports:
- name: ric-web-port
port: {{ .Values.config.ricWeb.ports.ricWebPort.port }}
nodePort: {{ .Values.config.ricWeb.ports.ricWebPort.nodePort }}
protocol: {{ .Values.config.ricWeb.ports.ricWebPort.protocol }}