# Copyright 2022-2024 Open Networking Foundation (ONF) and the ONF Contributors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: v1
kind: Service
metadata:
  labels:
    name: "{{ .Chart.Name }}"
    release: {{ .Release.Name }}
  name: "{{ .Chart.Name }}"
spec:
  ports:
  - name: of
    port: {{ .Values.voltha_go_controller.ofPort }}
    targetPort: {{ .Values.voltha_go_controller.ofPort }}
  - name: ui
    port: {{ .Values.voltha_go_controller.uiPort }}
    targetPort: {{ .Values.voltha_go_controller.uiPort }}
  selector:
    app: "{{ .Chart.Name }}"
