+{{/*
################################################################################
# Copyright (c) 2021 Nordix Foundation. #
# #
# 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:
rules:
- http:
paths:
- - path: "/ei-producer"
+ - path: "/data-producer"
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