roc-umbrella: adding initial roc-gui-v2
Change-Id: I5cc0b40a8bdd86d9898950e2ba0a175e4118c1d4
diff --git a/aether-roc-gui-v2/templates/ingress.yaml b/aether-roc-gui-v2/templates/ingress.yaml
new file mode 100644
index 0000000..986342e
--- /dev/null
+++ b/aether-roc-gui-v2/templates/ingress.yaml
@@ -0,0 +1,35 @@
+# SPDX-FileCopyrightText: 2020-present Open Networking Foundation <info@opennetworking.org>
+#
+# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
+
+{{- if .Values.ingress.enabled }}
+apiVersion: networking.k8s.io/v1
+kind: Ingress
+metadata:
+ name: {{ template "aether-roc-gui.fullname" . }}-ingress
+ namespace: {{ .Release.Namespace }}
+ labels:
+ chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
+ release: "{{ .Release.Name }}"
+ heritage: "{{ .Release.Service }}"
+ annotations:
+ kubernetes.io/ingress.class: "nginx"
+ nginx.ingress.kubernetes.io/ssl-redirect: "false"
+ nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
+spec:
+ tls:
+ - secretName: {{ template "aether-roc-gui.fullname" . }}-secret
+ hosts:
+ - aether-roc-gui.onosproject.org
+ rules:
+ - host: aether-roc-gui.onosproject.org
+ http:
+ paths:
+ - pathType: Prefix
+ path: "/"
+ backend:
+ service:
+ name: {{ template "aether-roc-gui.fullname" . }}
+ port:
+ number: {{ .Values.ports.web.containerPort }}
+{{- end }}