fix(omada-controller): Allow user to change listening port of UI when ingress is disabled
This commit is contained in:
@@ -18,7 +18,7 @@ name: omada-controller
|
||||
sources:
|
||||
- https://github.com/truecharts/charts/tree/master/charts/stable/omada-controller
|
||||
- https://github.com/mbentley/docker-omada-controller
|
||||
version: 8.0.0
|
||||
version: 8.0.1
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- media
|
||||
|
||||
@@ -15,7 +15,8 @@ env:
|
||||
# Omada automatically redirects to that port.
|
||||
# Instead of consuming the external 443 port, it's better to switch internal
|
||||
# But still give user the ability to change it.
|
||||
MANAGE_HTTPS_PORT: "{{ .Values.service.main.ports.main.targetPort }}"
|
||||
# When ingress is enabled, set this to 443, otherwise set it to whatever `port`` is set to
|
||||
MANAGE_HTTPS_PORT: "{{ if .ingress.main.enabled }}443{{ else }}{{ .Values.service.main.ports.main.port }}{{ end }}"
|
||||
PORTAL_HTTPS_PORT: "{{ .Values.service.comm.ports.comm.port }}"
|
||||
|
||||
service:
|
||||
@@ -24,7 +25,6 @@ service:
|
||||
main:
|
||||
protocol: HTTPS
|
||||
port: 8043
|
||||
targetPort: 443
|
||||
comm:
|
||||
enabled: true
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user