Commit new Chart releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2022-10-25 08:11:16 +00:00
parent 3d0806bd8b
commit 77b1f795bd
12 changed files with 28 additions and 16 deletions

View File

@ -2,6 +2,19 @@
## [meshcentral-5.0.2](https://github.com/truecharts/charts/compare/meshcentral-5.0.1...meshcentral-5.0.2) (2022-10-25)
### Chore
- Auto-update chart README [skip ci]
### Fix
- use transitioning variable tcdefaultdomain in scale GUI ([#4184](https://github.com/truecharts/charts/issues/4184))
## [meshcentral-5.0.1](https://github.com/truecharts/charts/compare/meshcentral-5.0.0...meshcentral-5.0.1) (2022-10-25)
### Chore
@ -84,16 +97,3 @@
- update docker general non-major ([#4001](https://github.com/truecharts/charts/issues/4001))
## [meshcentral-4.0.10](https://github.com/truecharts/charts/compare/meshcentral-4.0.9...meshcentral-4.0.10) (2022-09-27)
### Chore
- Auto-update chart README [skip ci]
- update helm general non-major ([#3918](https://github.com/truecharts/charts/issues/3918))
## [meshcentral-4.0.9](https://github.com/truecharts/charts/compare/meshcentral-4.0.8...meshcentral-4.0.9) (2022-09-25)

View File

@ -6,4 +6,4 @@ dependencies:
repository: https://charts.truecharts.org/
version: 2.0.35
digest: sha256:2fb9d45a5b3560f858fd2e0bc2f158130976195cc054b4318ca214a719310bfb
generated: "2022-10-25T06:13:08.322651503Z"
generated: "2022-10-25T08:09:08.893343261Z"

View File

@ -1,8 +1,8 @@
apiVersion: v2
kubeVersion: ">=1.16.0-0"
name: meshcentral
version: 5.0.1
appVersion: "1.0.89"
version: 5.0.2
description: MeshCentral is a full computer management web site
type: application
deprecated: false

View File

@ -376,7 +376,7 @@ questions:
additional_attrs: true
type: dict
attrs:
- variable: '""'
- variable: tcdefaultdomain
label: 'Section <"">'
schema:
additional_attrs: true

View File

@ -86,15 +86,27 @@ data:
{{/* Prunes int and float equal to -99 */}}
{{/* Prunes empty strings (Does not prune empty strings in lists) */}}
{{/* Prunes keys that start with _ */}}
{{/* Renames tcdefaultdomain variable to "" as this is the key used by MeshCentral */}}
{{/* but SCALE GUI does not handle it well */}}
{{- define "prune.keys.scale" }}
{{- $values := . }}
{{- if (hasKey $values "domains") }}
{{- if (hasKey $values.domains "tcdefaultdomain") }}
{{- $defaultDomain := $values.domains.tcdefaultdomain }}
{{- $_ := set $values.domains "" $defaultDomain }}
{{- $_ := unset $values.domains "tcdefaultdomain" }}
{{- end }}
{{- end }}
{{- range $k, $v := $values }}
{{- if eq (kindOf $v) "string" }}
{{- if not $v }}
{{- $_ := unset $values $k }}
{{- end }}
{{- end }}
{{- if eq $k "browserPing" }}
{{- $_ := set $values "__browserPing" (printf "%v-%v" (kindOf $v) (typeOf $v)) }}
{{- end }}
{{- if or (eq (kindOf $v) "float64") (eq (kindOf $v) "int64") }}
{{- if eq (int $v) -99 }}
{{- $_ := unset $values $k }}