File tree 4 files changed +45
-1
lines changed
4 files changed +45
-1
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
2
2
name : retool
3
3
description : A Helm chart for Kubernetes
4
4
type : application
5
- version : 6.3.5
5
+ version : 6.3.6
6
6
maintainers :
7
7
- name : Retool Engineering
8
8
Original file line number Diff line number Diff line change 30
30
- host : {{ .Values.ingress.hostName | quote }}
31
31
http :
32
32
paths :
33
+ # The multiplayer paths must be added before the main path to avoid less specific paths being matched first.
34
+ {{- if ( and ((.Values.multiplayer).enabled) (((.Values.multiplayer).ingress).enabled) ) }}
35
+ {{- range .Values.multiplayer.ingress.paths }}
36
+ - path : {{ .path }}
37
+ {{- if (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.Version) }}
38
+ pathType : {{ .pathType | default "ImplementationSpecific" }}
39
+ {{- end }}
40
+ backend :
41
+ service :
42
+ name : {{ template "retool.multiplayer.name" . }}
43
+ port :
44
+ number : {{ .port }}
45
+ {{- end }}
46
+ {{- end }}
33
47
- path :
34
48
{{- if and $pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.Version) }}
35
49
pathType : {{ $pathType }}
51
65
paths :
52
66
{{- with .extraPaths }}
53
67
{{ toYaml . | indent 10 }}
68
+ {{- end }}
69
+ # The multiplayer paths must be added before the main path to avoid less specific paths being matched first.
70
+ {{- if ( and (($.Values.multiplayer).enabled) ((($.Values.multiplayer).ingress).enabled) ) }}
71
+ {{- range (($.Values.multiplayer).ingress).paths }}
72
+ - path : {{ .path }}
73
+ {{- if (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.Version) }}
74
+ pathType : {{ .pathType | default "ImplementationSpecific" }}
75
+ {{- end }}
76
+ backend :
77
+ service :
78
+ name : {{ template "retool.multiplayer.name" . }}
79
+ port :
80
+ number : {{ .port }}
81
+ {{- end }}
54
82
{{- end }}
55
83
{{- range .paths }}
56
84
- path : {{ .path }}
Original file line number Diff line number Diff line change @@ -461,6 +461,14 @@ multiplayer:
461
461
# Labels for multiplayer pods
462
462
labels : {}
463
463
464
+ # Paths to route to multiplayer pods; defaults to /api/multiplayer. Can specify both path and port.
465
+ ingress :
466
+ # This conditional is dependent on multiplayer.enabled.
467
+ enabled : true
468
+ paths :
469
+ - path : /api/multiplayer
470
+ port : 80
471
+
464
472
codeExecutor :
465
473
# enabled by default from Chart version 6.0.15 and Retool image 3.20.15 onwards
466
474
# explicitly set other fields as needed
Original file line number Diff line number Diff line change @@ -461,6 +461,14 @@ multiplayer:
461
461
# Labels for multiplayer pods
462
462
labels : {}
463
463
464
+ # Paths to route to multiplayer pods; defaults to /api/multiplayer. Can specify both path and port.
465
+ ingress :
466
+ # This conditional is dependent on multiplayer.enabled.
467
+ enabled : true
468
+ paths :
469
+ - path : /api/multiplayer
470
+ port : 80
471
+
464
472
codeExecutor :
465
473
# enabled by default from Chart version 6.0.15 and Retool image 3.20.15 onwards
466
474
# explicitly set other fields as needed
You can’t perform that action at this time.
0 commit comments