blob: b41c736dfca9a4f6aa18444d03096d96b32e6343 [file] [log] [blame]
badhri854c028b32021-11-03 18:24:05 -05001{{/*
2# Copyright 2020-present Open Networking Foundation
3
4# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
5*/}}
6
7{{- if .Values.config.webui.ingress.enabled }}
8apiVersion: networking.k8s.io/v1
9kind: Ingress
10metadata:
11 name: webui
12 labels:
13{{ tuple "webui" . | include "5g-control-plane.metadata_labels" | indent 4 }}
14spec:
15 rules:
16 - host: {{ .Values.config.webui.ingress.hostname }}
17 http:
18 paths:
19 - path: {{ .Values.config.webui.ingress.path }}
20 pathType: {{ .Values.config.webui.ingress.pathType }}
21 backend:
22 service:
23 name: webui
24 port:
25 number: {{ .Values.config.webui.urlport.port }}
26{{- end }}