{{- 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" . }} {{- if .Values.ingress.includeDefaultPaths }} - path: /index.html pathType: Prefix backend: service: name: {{ .component.fullName }} port: name: {{ include "nplus.backendProtocol" . }} - path: /res pathType: Prefix backend: service: name: {{ .component.fullName }} port: name: {{ include "nplus.backendProtocol" . }} - path: /engine.properties pathType: Prefix backend: service: name: {{ .component.fullName }} port: name: {{ include "nplus.backendProtocol" . }} {{- end }} {{- else }} # kind: ingress # Not Generating any Ingress for {{ .component.fullName }} as # Ingress = {{ .this.ingress }} # Service = {{ .this.service }} {{- end }}