feat(Omada-Controller): Add additional ENV VARS (#4080)

* feat(Omada-Controller): Add additional ENV VARS

* remove targetPort so it failsback to the value of port

Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
StevenMcElligott 2022-10-12 02:26:17 -04:00 committed by GitHub
parent 75b7cdc959
commit 59e1d762e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

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.0.70 version: 6.1.0
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- media - media

View File

@ -11,13 +11,16 @@ podSecurityContext:
runAsUser: 0 runAsUser: 0
runAsGroup: 0 runAsGroup: 0
env:
MANAGE_HTTPS_PORT: "{{ .Values.service.main.ports.main.port }}"
PORTAL_HTTPS_PORT: "{{ .Values.service.comm.ports.comm.port }}"
service: service:
main: main:
ports: ports:
main: main:
protocol: HTTPS protocol: HTTPS
port: 8043 port: 8043
targetPort: 8043
comm: comm:
enabled: true enabled: true
ports: ports:
@ -25,7 +28,6 @@ service:
protocol: HTTPS protocol: HTTPS
enabled: true enabled: true
port: 8843 port: 8843
targetPort: 8843
omada-tcp: omada-tcp:
enabled: true enabled: true
ports: ports: