File tree Expand file tree Collapse file tree 8 files changed +23
-19
lines changed
massbank3-frontend/templates
massbank3-similarity-service Expand file tree Collapse file tree 8 files changed +23
-19
lines changed Original file line number Diff line number Diff line change @@ -6,12 +6,10 @@ massbank3-export-service:
6
6
host : msbi.ipb-halle.de
7
7
pathPrefix : MassBank3
8
8
9
- # Overwrite ingress path properties for massbank3-server
10
9
massbank3-server :
11
- ingress :
12
- hosts :
13
- - host : msbi.ipb-halle.de
14
- paths :
15
- - path : /MassBank3-api(/|$)(.*)
16
- pathType : ImplementationSpecific
10
+ host : msbi.ipb-halle.de
11
+ pathPrefix : MassBank3
12
+ massbank3-similarity-service :
13
+ host : msbi.ipb-halle.de
14
+ pathPrefix : MassBank3
17
15
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ service:
60
60
# This block is for setting up the ingress for more information can be found here: https://kubernetes.io/docs/concepts/services-networking/ingress/
61
61
ingress :
62
62
enabled : true
63
- className : nginx
63
+ className : " nginx"
64
64
annotations :
65
65
nginx.ingress.kubernetes.io/use-regex : " true"
66
66
nginx.ingress.kubernetes.io/rewrite-target : /$2
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ metadata:
5
5
labels :
6
6
{{- include "massbank3-frontend.labels" . | nindent 4 }}
7
7
data :
8
- MB3_API_URL : " https://{{ .Values.host }}/{{ .Values.pathPrefix }}-api/v1 "
8
+ MB3_API_URL : " https://{{ .Values.host }}/{{ .Values.pathPrefix }}-api"
9
9
MB3_API_URL_INTERNAL : " http://massbank3-server-service:8080"
10
10
MB3_FRONTEND_URL : " https://{{ .Values.host }}"
11
11
MB3_FRONTEND_BASE_URL : " /{{ .Values.pathPrefix }}/"
Original file line number Diff line number Diff line change 15
15
SIMILARITY_SERVICE_COSINE_PORT : " 8080"
16
16
EXPORT_SERVICE_HOST : " massbank3-export-service-service"
17
17
EXPORT_SERVICE_PORT : " 8080"
18
- MB3_API_URL : " https://{{ .Values.host }}/{{ .Values.pathPrefix }}-api/v1 "
18
+ MB3_API_URL : " https://{{ .Values.host }}/{{ .Values.pathPrefix }}-api"
Original file line number Diff line number Diff line change @@ -25,11 +25,11 @@ spec:
25
25
{{- end }}
26
26
rules :
27
27
{{- range .Values.ingress.hosts }}
28
- - host : {{ .host | quote }}
28
+ - host : {{ tpl .host $ | quote }}
29
29
http :
30
30
paths :
31
31
{{- range .paths }}
32
- - path : {{ .path }}
32
+ - path : {{ tpl .path $ }}
33
33
{{- with .pathType }}
34
34
pathType : {{ . }}
35
35
{{- end }}
Original file line number Diff line number Diff line change 1
1
# This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/
2
2
replicaCount : 1
3
3
4
+ host : " msbi.ipb-halle.de"
5
+ pathPrefix : " MassBank"
6
+
4
7
image :
5
8
repository : ipbhalle/massbank3-server
6
9
tag : " dev"
@@ -101,9 +104,9 @@ ingress:
101
104
nginx.ingress.kubernetes.io/use-regex : " true"
102
105
nginx.ingress.kubernetes.io/rewrite-target : /$2
103
106
hosts :
104
- - host : msbi.ipb-halle.de
107
+ - host : " {{ .Values.host }} "
105
108
paths :
106
- - path : /MassBank -api(/|$)(.*)
109
+ - path : " /{{ .Values.pathPrefix }} -api(/|$)(.*)"
107
110
pathType : ImplementationSpecific
108
111
tls : []
109
112
# - secretName: chart-example-tls
Original file line number Diff line number Diff line change @@ -25,11 +25,11 @@ spec:
25
25
{{- end }}
26
26
rules :
27
27
{{- range .Values.ingress.hosts }}
28
- - host : {{ .host | quote }}
28
+ - host : {{ tpl .host $ | quote }}
29
29
http :
30
30
paths :
31
31
{{- range .paths }}
32
- - path : {{ .path }}
32
+ - path : {{ tpl .path $ }}
33
33
{{- with .pathType }}
34
34
pathType : {{ . }}
35
35
{{- end }}
Original file line number Diff line number Diff line change 5
5
# This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/
6
6
replicaCount : 1
7
7
8
+ host : " msbi.ipb-halle.de"
9
+ pathPrefix : " MassBank"
10
+
8
11
# This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/
9
12
image :
10
13
repository : quay.io/massbank/massbank3-similarity-service
@@ -59,14 +62,14 @@ service:
59
62
# This block is for setting up the ingress for more information can be found here: https://kubernetes.io/docs/concepts/services-networking/ingress/
60
63
ingress :
61
64
enabled : true
62
- className : nginx
65
+ className : " nginx"
63
66
annotations :
64
67
nginx.ingress.kubernetes.io/use-regex : " true"
65
68
nginx.ingress.kubernetes.io/rewrite-target : /$2
66
69
hosts :
67
- - host : msbi.ipb-halle.de
70
+ - host : " {{ .Values.host }} "
68
71
paths :
69
- - path : /MassBank -similarity(/|$)(.*)
72
+ - path : " /{{ .Values.pathPrefix }} -similarity(/|$)(.*)"
70
73
pathType : ImplementationSpecific
71
74
tls : []
72
75
# - secretName: chart-example-tls
You can’t perform that action at this time.
0 commit comments