Adding helm charts for gloo ingress controller
[demo.git] / vnfs / DAaaS / 00-init / gloo / templates / 13-ingress-proxy-service.yaml
diff --git a/vnfs/DAaaS/00-init/gloo/templates/13-ingress-proxy-service.yaml b/vnfs/DAaaS/00-init/gloo/templates/13-ingress-proxy-service.yaml
new file mode 100755 (executable)
index 0000000..583e8bc
--- /dev/null
@@ -0,0 +1,23 @@
+{{- if .Values.ingress.enabled }}
+apiVersion: v1
+kind: Service
+metadata:
+  labels:
+    app: gloo
+    gloo: ingress-proxy
+  name: ingress-proxy
+  namespace: {{ .Release.Namespace }}
+spec:
+  ports:
+  - port: {{ .Values.ingressProxy.deployment.httpPort }}
+    protocol: TCP
+    name: http
+  - port: {{ .Values.ingressProxy.deployment.httpsPort }}
+    protocol: TCP
+    name: https
+  selector:
+    gloo: ingress-proxy
+  type: LoadBalancer
+
+
+{{- end }}
\ No newline at end of file