X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-platform%2F50-RIC-Platform%2Fhelm%2Fkong%2Fcharts%2Fkong%2Ftemplates%2Fservice-kong-portal.yaml;fp=ric-platform%2F50-RIC-Platform%2Fhelm%2Fkong%2Fcharts%2Fkong%2Ftemplates%2Fservice-kong-portal.yaml;h=0000000000000000000000000000000000000000;hb=ef05762e72bf0af584301bf58b2035f7ac4e3842;hp=1e336daffb39b85cc67fad17202693a624eee859;hpb=25428c74ecffd82152b5642cca81c19508d3218c;p=it%2Fdep.git diff --git a/ric-platform/50-RIC-Platform/helm/kong/charts/kong/templates/service-kong-portal.yaml b/ric-platform/50-RIC-Platform/helm/kong/charts/kong/templates/service-kong-portal.yaml deleted file mode 100755 index 1e336daf..00000000 --- a/ric-platform/50-RIC-Platform/helm/kong/charts/kong/templates/service-kong-portal.yaml +++ /dev/null @@ -1,57 +0,0 @@ -{{- if .Values.enterprise.enabled }} -apiVersion: v1 -kind: Service -metadata: - name: {{ template "kong.fullname" . }}-portal - annotations: - {{- range $key, $value := .Values.portal.annotations }} - {{ $key }}: {{ $value | quote }} - {{- end }} - labels: - app: {{ template "kong.name" . }} - chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" - release: "{{ .Release.Name }}" - heritage: "{{ .Release.Service }}" -spec: - type: {{ .Values.portal.type }} - {{- if eq .Values.portal.type "LoadBalancer" }} - {{- if .Values.portal.loadBalancerIP }} - loadBalancerIP: {{ .Values.portal.loadBalancerIP }} - {{- end }} - {{- if .Values.portal.loadBalancerSourceRanges }} - loadBalancerSourceRanges: - {{- range $cidr := .Values.portal.loadBalancerSourceRanges }} - - {{ $cidr }} - {{- end }} - {{- end }} - {{- end }} - externalIPs: - {{- range $ip := .Values.portal.externalIPs }} - - {{ $ip }} - {{- end }} - ports: - {{- if .Values.portal.http.enabled }} - - name: kong-portal - port: {{ .Values.portal.http.servicePort }} - targetPort: {{ .Values.portal.http.containerPort }} - {{- if (and (eq .Values.portal.type "NodePort") (not (empty .Values.portal.http.nodePort))) }} - nodePort: {{ .Values.portal.http.nodePort }} - {{- end }} - protocol: TCP - {{- end }} - {{- if or .Values.portal.tls.enabled }} - - name: kong-portal-tls - port: {{ .Values.portal.tls.servicePort }} - targetPort: {{ .Values.portal.tls.containerPort }} - {{- if (and (eq .Values.portal.type "NodePort") (not (empty .Values.portal.tls.nodePort))) }} - nodePort: {{ .Values.portal.tls.nodePort }} - {{- end }} - protocol: TCP - {{- end }} - - - selector: - app: {{ template "kong.name" . }} - release: {{ .Release.Name }} - component: app -{{- end -}}