{{- include "nplus.init" $ -}}
{{- if ( include "nplus.ingressEnabled" . ) }}
{{- include "nplus.ingress" (list . .component.fullName) | nindent 0 }}
      - path: {{ .Values.ingress.contextPath }}
        pathType: Prefix
        backend:
          service:
            name: {{ .component.fullName }}
            port: 
              name: {{ include "nplus.backendProtocol" . }}
{{- else }}
# kind: ingress
# Not Generating any Ingress for {{ .component.fullName }} as
# Ingress = {{ .this.ingress }}
# Service = {{ .this.service }}
{{- end }}
