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