X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=ric-platform%2F50-RIC-Platform%2Fhelm%2Fkong%2Fcharts%2Fkong%2Ftemplates%2Fingress-portal.yaml;fp=ric-platform%2F50-RIC-Platform%2Fhelm%2Fkong%2Fcharts%2Fkong%2Ftemplates%2Fingress-portal.yaml;h=0000000000000000000000000000000000000000;hb=ef05762e72bf0af584301bf58b2035f7ac4e3842;hp=99a249b379d9524c410794d3bcfade3ca0828ea7;hpb=25428c74ecffd82152b5642cca81c19508d3218c;p=it%2Fdep.git diff --git a/ric-platform/50-RIC-Platform/helm/kong/charts/kong/templates/ingress-portal.yaml b/ric-platform/50-RIC-Platform/helm/kong/charts/kong/templates/ingress-portal.yaml deleted file mode 100755 index 99a249b3..00000000 --- a/ric-platform/50-RIC-Platform/helm/kong/charts/kong/templates/ingress-portal.yaml +++ /dev/null @@ -1,35 +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 -}} -apiVersion: extensions/v1beta1 -kind: Ingress -metadata: - name: {{ template "kong.fullname" . }}-portal - labels: - app: {{ template "kong.name" . }} - chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" - release: "{{ .Release.Name }}" - heritage: "{{ .Release.Service }}" - annotations: - {{- range $key, $value := .Values.portal.ingress.annotations }} - {{ $key }}: {{ $value | quote }} - {{- end }} -spec: - rules: - {{- range $host := .Values.portal.ingress.hosts }} - - host: {{ $host }} - http: - paths: - - path: {{ $path }} - backend: - serviceName: {{ $serviceName }}-portal - servicePort: {{ $servicePort }} - {{- end -}} - {{- if .Values.portal.ingress.tls }} - tls: -{{ toYaml .Values.portal.ingress.tls | indent 4 }} - {{- end -}} -{{- end -}} -{{- end -}}