Skip to content

Commit f179f29

Browse files
committed
Continue charts
1 parent 942a885 commit f179f29

File tree

8 files changed

+23
-19
lines changed

8 files changed

+23
-19
lines changed

charts/custom-values.yaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,10 @@ massbank3-export-service:
66
host: msbi.ipb-halle.de
77
pathPrefix: MassBank3
88

9-
# Overwrite ingress path properties for massbank3-server
109
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
1715

charts/massbank3-export-service/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ service:
6060
# This block is for setting up the ingress for more information can be found here: https://kubernetes.io/docs/concepts/services-networking/ingress/
6161
ingress:
6262
enabled: true
63-
className: nginx
63+
className: "nginx"
6464
annotations:
6565
nginx.ingress.kubernetes.io/use-regex: "true"
6666
nginx.ingress.kubernetes.io/rewrite-target: /$2

charts/massbank3-frontend/templates/configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
labels:
66
{{- include "massbank3-frontend.labels" . | nindent 4 }}
77
data:
8-
MB3_API_URL: "https://{{ .Values.host }}/{{ .Values.pathPrefix }}-api/v1"
8+
MB3_API_URL: "https://{{ .Values.host }}/{{ .Values.pathPrefix }}-api"
99
MB3_API_URL_INTERNAL: "http://massbank3-server-service:8080"
1010
MB3_FRONTEND_URL: "https://{{ .Values.host }}"
1111
MB3_FRONTEND_BASE_URL: "/{{ .Values.pathPrefix }}/"

charts/massbank3-server/templates/configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ data:
1515
SIMILARITY_SERVICE_COSINE_PORT: "8080"
1616
EXPORT_SERVICE_HOST: "massbank3-export-service-service"
1717
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"

charts/massbank3-server/templates/ingress.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ spec:
2525
{{- end }}
2626
rules:
2727
{{- range .Values.ingress.hosts }}
28-
- host: {{ .host | quote }}
28+
- host: {{ tpl .host $ | quote }}
2929
http:
3030
paths:
3131
{{- range .paths }}
32-
- path: {{ .path }}
32+
- path: {{ tpl .path $ }}
3333
{{- with .pathType }}
3434
pathType: {{ . }}
3535
{{- end }}

charts/massbank3-server/values.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/
22
replicaCount: 1
33

4+
host: "msbi.ipb-halle.de"
5+
pathPrefix: "MassBank"
6+
47
image:
58
repository: ipbhalle/massbank3-server
69
tag: "dev"
@@ -101,9 +104,9 @@ ingress:
101104
nginx.ingress.kubernetes.io/use-regex: "true"
102105
nginx.ingress.kubernetes.io/rewrite-target: /$2
103106
hosts:
104-
- host: msbi.ipb-halle.de
107+
- host: "{{ .Values.host }}"
105108
paths:
106-
- path: /MassBank-api(/|$)(.*)
109+
- path: "/{{ .Values.pathPrefix }}-api(/|$)(.*)"
107110
pathType: ImplementationSpecific
108111
tls: []
109112
# - secretName: chart-example-tls

charts/massbank3-similarity-service/templates/ingress.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ spec:
2525
{{- end }}
2626
rules:
2727
{{- range .Values.ingress.hosts }}
28-
- host: {{ .host | quote }}
28+
- host: {{ tpl .host $ | quote }}
2929
http:
3030
paths:
3131
{{- range .paths }}
32-
- path: {{ .path }}
32+
- path: {{ tpl .path $ }}
3333
{{- with .pathType }}
3434
pathType: {{ . }}
3535
{{- end }}

charts/massbank3-similarity-service/values.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
# This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/
66
replicaCount: 1
77

8+
host: "msbi.ipb-halle.de"
9+
pathPrefix: "MassBank"
10+
811
# This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/
912
image:
1013
repository: quay.io/massbank/massbank3-similarity-service
@@ -59,14 +62,14 @@ service:
5962
# This block is for setting up the ingress for more information can be found here: https://kubernetes.io/docs/concepts/services-networking/ingress/
6063
ingress:
6164
enabled: true
62-
className: nginx
65+
className: "nginx"
6366
annotations:
6467
nginx.ingress.kubernetes.io/use-regex: "true"
6568
nginx.ingress.kubernetes.io/rewrite-target: /$2
6669
hosts:
67-
- host: msbi.ipb-halle.de
70+
- host: "{{ .Values.host }}"
6871
paths:
69-
- path: /MassBank-similarity(/|$)(.*)
72+
- path: "/{{ .Values.pathPrefix }}-similarity(/|$)(.*)"
7073
pathType: ImplementationSpecific
7174
tls: []
7275
# - secretName: chart-example-tls

0 commit comments

Comments
 (0)