Commit new Chart releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2022-11-15 11:59:10 +00:00
parent 298ea3f2cb
commit db7f122888
12 changed files with 34 additions and 24 deletions

View File

@ -1,9 +0,0 @@
## [omada-controller-8.0.3](https://github.com/truecharts/charts/compare/omada-controller-8.0.2...omada-controller-8.0.3) (2022-11-15)
### Fix
- Re-add conditional nodeport for Ingress ([#4431](https://github.com/truecharts/charts/issues/4431))

View File

@ -1 +0,0 @@
{{ include "tc.common.loader.all" . }}

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

View File

@ -0,0 +1,9 @@
## [omada-controller-8.0.4](https://github.com/truecharts/charts/compare/omada-controller-8.0.3...omada-controller-8.0.4) (2022-11-15)
### Fix
- set also targetPort to the same port so everything works correctly ([#4440](https://github.com/truecharts/charts/issues/4440))

View File

@ -12,21 +12,8 @@ podSecurityContext:
runAsGroup: 0
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.
# When ingress is enabled, set this to 443, otherwise set it to whatever `port` is set to
MANAGE_HTTPS_PORT: "{{ if .Values.ingress.main.enabled }}443{{ else }}{{ .Values.service.main.ports.main.port }}{{ end }}"
PORTAL_HTTPS_PORT: "{{ .Values.service.comm.ports.comm.port }}"
probes:
liveness:
port: "{{ if .Values.ingress.main.enabled }}443{{ else }}{{ .Values.service.main.ports.main.port }}{{ end }}"
readiness:
port: "{{ if .Values.ingress.main.enabled }}443{{ else }}{{ .Values.service.main.ports.main.port }}{{ end }}"
startup:
port: "{{ if .Values.ingress.main.enabled }}443{{ else }}{{ .Values.service.main.ports.main.port }}{{ end }}"
service:
main:
ports:

View File

@ -0,0 +1,24 @@
{{/* Render the templates */}}
{{ include "tc.common.loader.init" . }}
{{/*
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.
When ingress is enabled, set this to 443, otherwise set it to whatever `port` is set to
*/}}
{{- $port := .Values.service.main.ports.main.port -}}
{{- if .Values.ingress.main.enabled -}}
{{- $port = 443 -}}
{{- end -}}
{{- $_ := set .Values.env "MANAGE_HTTPS_PORT" $port -}}
{{- $_ := set .Values.service.main.ports.main "targetPort" $port -}}
{{- $_ := set .Values.probes.liveness "port" $port -}}
{{- $_ := set .Values.probes.readiness "port" $port -}}
{{- $_ := set .Values.probes.startup "port" $port -}}
{{ include "tc.common.loader.apply" . }}