Add reuse service landing page
This commit is contained in:
parent
b76cdb53a8
commit
b859530fcf
14 changed files with 589 additions and 12 deletions
|
|
@ -18,6 +18,24 @@ spec:
|
|||
- host: {{ .Values.ingress.host }}
|
||||
http:
|
||||
paths:
|
||||
{{- if .Values.landing.enabled }}
|
||||
{{- range .Values.ingress.apiPaths }}
|
||||
- path: {{ .path }}
|
||||
pathType: {{ .pathType }}
|
||||
backend:
|
||||
service:
|
||||
name: {{ include "reuse.fullname" $ }}
|
||||
port:
|
||||
number: {{ $.Values.service.port }}
|
||||
{{- end }}
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: {{ include "reuse.landingFullname" . }}
|
||||
port:
|
||||
number: {{ .Values.landing.service.port }}
|
||||
{{- else }}
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
|
|
@ -25,4 +43,5 @@ spec:
|
|||
name: {{ include "reuse.fullname" . }}
|
||||
port:
|
||||
number: {{ .Values.service.port }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue