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-15 20:41:23 -04:00 committed by GitHub
parent e7c46816a7
commit a684867ad6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 3 deletions

View File

@ -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: 6.1.1
version: 6.2.0
annotations:
truecharts.org/catagories: |
- media

View File

@ -42,7 +42,7 @@ questions:
description: The internal(!) port on the container the Application runs on
schema:
type: int
default: 8043
default: 443
- variable: comm
label: Omada Controller User HTTPS portal
description: Omada Controller User HTTPS portal

View File

@ -12,7 +12,10 @@ podSecurityContext:
runAsGroup: 0
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 }}"
service:
@ -21,6 +24,7 @@ service:
main:
protocol: HTTPS
port: 8043
targetPort: 443
comm:
enabled: true
ports: