X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=nonrtric%2Fhelm%2Fenrichmentservice%2Ftemplates%2Fingress.yaml;h=364e00009e8cf7a63562c16d6f11f5dc081e8fc5;hb=5142c8625abe92afb01c799079d743db5d400f07;hp=5a1fb33eae5b5c74ebd376cfb5736857ceb15958;hpb=a31a9b3dc986ce76b763c210cf45e2212c95181a;p=it%2Fdep.git diff --git a/nonrtric/helm/enrichmentservice/templates/ingress.yaml b/nonrtric/helm/enrichmentservice/templates/ingress.yaml index 5a1fb33e..364e0000 100644 --- a/nonrtric/helm/enrichmentservice/templates/ingress.yaml +++ b/nonrtric/helm/enrichmentservice/templates/ingress.yaml @@ -1,3 +1,4 @@ +{{/* ################################################################################ # Copyright (c) 2021 Nordix Foundation. # # # @@ -13,7 +14,9 @@ # See the License for the specific language governing permissions and # # limitations under the License. # ################################################################################ +*/}} +{{- if .Values.enrichmentservice.ingress.enabled -}} apiVersion: networking.k8s.io/v1 kind: Ingress metadata: @@ -29,13 +32,14 @@ spec: backend: service: name: {{ include "common.name.enrichmentservice" . }} - port: + port: number: {{ .Values.enrichmentservice.service.internalPort1 }} pathType: Prefix path: "/data-consumer" backend: service: name: {{ include "common.name.enrichmentservice" . }} - port: + port: number: {{ .Values.enrichmentservice.service.internalPort1 }} pathType: Prefix +{{- end -}} \ No newline at end of file