X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=nonrtric%2Fhelm%2Fenrichmentservice%2Ftemplates%2Fingress.yaml;fp=nonrtric%2Fhelm%2Fenrichmentservice%2Ftemplates%2Fingress.yaml;h=5a1fb33eae5b5c74ebd376cfb5736857ceb15958;hb=0a8dfc256c49575fe30680485ab7684e144f5eac;hp=0000000000000000000000000000000000000000;hpb=e046844b54bb936b8015dd38de3abbbc7e8a4f2d;p=it%2Fdep.git diff --git a/nonrtric/helm/enrichmentservice/templates/ingress.yaml b/nonrtric/helm/enrichmentservice/templates/ingress.yaml new file mode 100644 index 00000000..5a1fb33e --- /dev/null +++ b/nonrtric/helm/enrichmentservice/templates/ingress.yaml @@ -0,0 +1,41 @@ +################################################################################ +# Copyright (c) 2021 Nordix Foundation. # +# # +# Licensed under the Apache License, Version 2.0 (the "License"); # +# you may not use this file except in compliance with the License. # +# You may obtain a copy of the License at # +# # +# http://www.apache.org/licenses/LICENSE-2.0 # +# # +# Unless required by applicable law or agreed to in writing, software # +# distributed under the License is distributed on an "AS IS" BASIS, # +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # +# See the License for the specific language governing permissions and # +# limitations under the License. # +################################################################################ + +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: {{ include "common.name.enrichmentservice" . }} + namespace: {{ include "common.namespace.nonrtric" . }} + +spec: + ingressClassName: {{ include "common.ingressClassName" . }} + rules: + - http: + paths: + - path: "/ei-producer" + backend: + service: + name: {{ include "common.name.enrichmentservice" . }} + port: + number: {{ .Values.enrichmentservice.service.internalPort1 }} + pathType: Prefix + path: "/data-consumer" + backend: + service: + name: {{ include "common.name.enrichmentservice" . }} + port: + number: {{ .Values.enrichmentservice.service.internalPort1 }} + pathType: Prefix