From 59e1d762e24e8cba50b487aa6cc5348fa29d8c69 Mon Sep 17 00:00:00 2001 From: StevenMcElligott <89483932+StevenMcElligott@users.noreply.github.com> Date: Wed, 12 Oct 2022 02:26:17 -0400 Subject: [PATCH] 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> --- charts/stable/omada-controller/Chart.yaml | 2 +- charts/stable/omada-controller/values.yaml | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/charts/stable/omada-controller/Chart.yaml b/charts/stable/omada-controller/Chart.yaml index cbf2992504a..f7b7bc50795 100644 --- a/charts/stable/omada-controller/Chart.yaml +++ b/charts/stable/omada-controller/Chart.yaml @@ -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.0.70 +version: 6.1.0 annotations: truecharts.org/catagories: | - media diff --git a/charts/stable/omada-controller/values.yaml b/charts/stable/omada-controller/values.yaml index e579c85179a..1fde597662f 100644 --- a/charts/stable/omada-controller/values.yaml +++ b/charts/stable/omada-controller/values.yaml @@ -11,13 +11,16 @@ podSecurityContext: runAsUser: 0 runAsGroup: 0 +env: + MANAGE_HTTPS_PORT: "{{ .Values.service.main.ports.main.port }}" + PORTAL_HTTPS_PORT: "{{ .Values.service.comm.ports.comm.port }}" + service: main: ports: main: protocol: HTTPS port: 8043 - targetPort: 8043 comm: enabled: true ports: @@ -25,7 +28,6 @@ service: protocol: HTTPS enabled: true port: 8843 - targetPort: 8843 omada-tcp: enabled: true ports: