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