blob: f5ff5056ba33390c31c7bf43b840a3f63dc7ec4e [file] [log] [blame]
Ajay Lotan Thakur87633d02022-09-14 14:18:44 -06001{{/*
2# Copyright 2022-present Open Networking Foundation
3
4# SPDX-License-Identifier: Apache-2.0
5*/}}
6
7{{- if .Values.config.dbtestapp.deploy }}
8---
9apiVersion: v1
10kind: Service
11metadata:
12 name: dbtestapp
13 labels:
14{{ tuple "dbtestapp" . | include "5g-test-apps.metadata_labels" | indent 4 }}
15spec:
16 type: {{ .Values.config.dbtestapp.serviceType }}
17 selector:
18{{ tuple "dbtestapp" . | include "5g-test-apps.metadata_labels" | indent 4 }}
19 ports:
20 - name: http-api
21 port: {{ .Values.config.dbtestapp.httpServer.port }}
22 protocol: TCP
23{{- end }}