1 {{- if .Values.enterprise.enabled }}
2 {{- if .Values.manager.ingress.enabled -}}
3 {{- $serviceName := include "kong.fullname" . -}}
4 {{- $servicePort := include "kong.ingress.servicePort" .Values.manager -}}
5 {{- $path := .Values.manager.ingress.path -}}
6 {{- $tls := .Values.manager.ingress.tls -}}
7 {{- $hostname := .Values.manager.ingress.hostname -}}
8 apiVersion: extensions/v1beta1
11 name: {{ template "kong.fullname" . }}-manager
13 {{- include "kong.metaLabels" . | nindent 4 }}
15 {{- range $key, $value := .Values.manager.ingress.annotations }}
16 {{ $key }}: {{ $value | quote }}
20 - host: {{ $hostname }}
25 serviceName: {{ $serviceName }}-manager
26 servicePort: {{ $servicePort }}
31 secretName: {{ $tls }}