J release changes
[ric-plt/ric-dep.git] / helm / infrastructure / subcharts / kong / templates / ingress-portal.yaml
diff --git a/helm/infrastructure/subcharts/kong/templates/ingress-portal.yaml b/helm/infrastructure/subcharts/kong/templates/ingress-portal.yaml
deleted file mode 100644 (file)
index 521adef..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-{{- if .Values.enterprise.enabled }}
-{{- if .Values.portal.ingress.enabled -}}
-{{- $serviceName := include "kong.fullname" . -}}
-{{- $servicePort := include "kong.ingress.servicePort" .Values.portal -}}
-{{- $path := .Values.portal.ingress.path -}}
-{{- $tls := .Values.portal.ingress.tls -}}
-{{- $hostname := .Values.portal.ingress.hostname -}}
-apiVersion: extensions/v1beta1
-kind: Ingress
-metadata:
-  name: {{ template "kong.fullname" . }}-portal
-  labels:
-    {{- include "kong.metaLabels" . | nindent 4 }}
-  annotations:
-    {{- range $key, $value := .Values.portal.ingress.annotations }}
-      {{ $key }}: {{ $value | quote }}
-    {{- end }}
-spec:
-  rules:
-  - host: {{ $hostname }}
-    http:
-      paths:
-        - path: {{ $path }}
-          backend:
-            serviceName: {{ $serviceName }}-portal
-            servicePort: {{ $servicePort }}
-  {{- if $tls }}
-  tls:
-  - hosts:
-    - {{ $hostname }}
-    secretName: {{ $tls }}
-  {{- end -}}
-{{- end -}}
-{{- end -}}