fix(Omada): Switch internal https port to 443, to stop redirection to 8043 on ingress (#4107)

* feat(Omada): Move main portal to HTTP for Ingress

* test a theor

* Update charts/stable/omada-controller/values.yaml

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
StevenMcElligott
2022-10-16 03:41:23 +03:00
committed by GitHub
co-authored by Stavros Kois
parent e7c46816a7
commit a684867ad6
3 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ name: omada-controller
sources: sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/omada-controller - https://github.com/truecharts/charts/tree/master/charts/stable/omada-controller
- https://github.com/mbentley/docker-omada-controller - https://github.com/mbentley/docker-omada-controller
version: 6.1.1 version: 6.2.0
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- media - media
@@ -42,7 +42,7 @@ questions:
description: The internal(!) port on the container the Application runs on description: The internal(!) port on the container the Application runs on
schema: schema:
type: int type: int
default: 8043 default: 443
- variable: comm - variable: comm
label: Omada Controller User HTTPS portal label: Omada Controller User HTTPS portal
description: Omada Controller User HTTPS portal description: Omada Controller User HTTPS portal
+5 -1
View File
@@ -12,7 +12,10 @@ podSecurityContext:
runAsGroup: 0 runAsGroup: 0
env: env:
MANAGE_HTTPS_PORT: "{{ .Values.service.main.ports.main.port }}" # 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 }}"
PORTAL_HTTPS_PORT: "{{ .Values.service.comm.ports.comm.port }}" PORTAL_HTTPS_PORT: "{{ .Values.service.comm.ports.comm.port }}"
service: service:
@@ -21,6 +24,7 @@ service:
main: main:
protocol: HTTPS protocol: HTTPS
port: 8043 port: 8043
targetPort: 443
comm: comm:
enabled: true enabled: true
ports: ports: