Commit new Chart releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2023-09-12 03:43:32 +00:00
parent 878033c106
commit 34e00bd25f
12 changed files with 4296 additions and 0 deletions

View File

@ -0,0 +1,99 @@
**Important:**
*for the complete changelog, please refer to the website*
## [meshcentral-11.0.3](https://github.com/truecharts/charts/compare/meshcentral-11.0.2...meshcentral-11.0.3) (2023-09-12)
### Chore
- update container image tccr.io/truecharts/meshcentral to v1.1.11 ([#12506](https://github.com/truecharts/charts/issues/12506))
## [meshcentral-11.0.2](https://github.com/truecharts/charts/compare/meshcentral-11.0.1...meshcentral-11.0.2) (2023-08-16)
### Chore
- update container image tccr.io/truecharts/meshcentral to v1.1.10 ([#11620](https://github.com/truecharts/charts/issues/11620))
## [meshcentral-11.0.1](https://github.com/truecharts/charts/compare/meshcentral-11.0.0...meshcentral-11.0.1) (2023-08-07)
### Chore
- update container image tccr.io/truecharts/meshcentral to v1.1.8 ([#11312](https://github.com/truecharts/charts/issues/11312))
## [meshcentral-11.0.0](https://github.com/truecharts/charts/compare/meshcentral-10.0.21...meshcentral-11.0.0) (2023-07-31)
## [meshcentral-10.0.21](https://github.com/truecharts/charts/compare/meshcentral-10.0.20...meshcentral-10.0.21) (2023-07-29)
### Chore
- update helm general non-major ([#10955](https://github.com/truecharts/charts/issues/10955))
## [meshcentral-10.0.20](https://github.com/truecharts/charts/compare/meshcentral-10.0.19...meshcentral-10.0.20) (2023-07-01)
### Chore
- update helm general non-major ([#10069](https://github.com/truecharts/charts/issues/10069))
## [meshcentral-10.0.19](https://github.com/truecharts/charts/compare/meshcentral-10.0.18...meshcentral-10.0.19) (2023-06-15)
### Chore
- update container image tccr.io/truecharts/meshcentral to v1.1.6 ([#9664](https://github.com/truecharts/charts/issues/9664))
## [meshcentral-10.0.19](https://github.com/truecharts/charts/compare/meshcentral-10.0.18...meshcentral-10.0.19) (2023-06-15)
### Chore
- update container image tccr.io/truecharts/meshcentral to v1.1.6 ([#9664](https://github.com/truecharts/charts/issues/9664))
## [meshcentral-10.0.19](https://github.com/truecharts/charts/compare/meshcentral-10.0.18...meshcentral-10.0.19) (2023-06-15)
### Chore
- update container image tccr.io/truecharts/meshcentral to v1.1.6 ([#9664](https://github.com/truecharts/charts/issues/9664))
## [meshcentral-10.0.19](https://github.com/truecharts/charts/compare/meshcentral-10.0.18...meshcentral-10.0.19) (2023-06-15)
### Chore
- update container image tccr.io/truecharts/meshcentral to v1.1.6 ([#9664](https://github.com/truecharts/charts/issues/9664))
## [meshcentral-10.0.19](https://github.com/truecharts/charts/compare/meshcentral-10.0.18...meshcentral-10.0.19) (2023-06-15)
### Chore
- update container image tccr.io/truecharts/meshcentral to v1.1.6 ([#9664](https://github.com/truecharts/charts/issues/9664))

View File

@ -0,0 +1,34 @@
apiVersion: v2
kubeVersion: ">=1.16.0-0"
name: meshcentral
version: 11.0.3
appVersion: "1.1.11"
description: MeshCentral is a full computer management web site
type: application
deprecated: false
home: https://truecharts.org/charts/stable/meshcentral
icon: https://truecharts.org/img/hotlink-ok/chart-icons/meshcentral.png
keywords:
- meshcentral
- teamviewer
- rdp
sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/meshcentral
- https://github.com/Ylianst/MeshCentral
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 14.0.1
- condition: mongodb.enabled
name: mongodb
repository: https://deps.truecharts.org/
version: 6.0.67
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
annotations:
truecharts.org/catagories: |
- cloud
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@ -0,0 +1,27 @@
# README
## General Info
TrueCharts can be installed as both *normal* Helm Charts or as Apps on TrueNAS SCALE.
However only installations using the TrueNAS SCALE Apps system are supported.
For more information about this App, please check the docs on the TrueCharts [website](https://truecharts.org/charts/stable/)
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/charts/issues/new/choose)**
## Support
- Please check our [quick-start guides for TrueNAS SCALE](https://truecharts.org/manual/SCALE/guides/scale-intro).
- See the [Website](https://truecharts.org)
- Check our [Discord](https://discord.gg/tVsPTHWTtr)
- Open a [issue](https://github.com/truecharts/charts/issues/new/choose)
---
## Sponsor TrueCharts
TrueCharts can only exist due to the incredible effort of our staff.
Please consider making a [donation](https://truecharts.org/sponsor) or contributing back to the project any way you can!
*All Rights Reserved - The TrueCharts Project*

View File

@ -0,0 +1,9 @@
## [meshcentral-11.0.3](https://github.com/truecharts/charts/compare/meshcentral-11.0.2...meshcentral-11.0.3) (2023-09-12)
### Chore
- update container image tccr.io/truecharts/meshcentral to v1.1.11 ([#12506](https://github.com/truecharts/charts/issues/12506))

View File

@ -0,0 +1,8 @@
MeshCentral is a full computer management web site
This App is supplied by TrueCharts, for more information visit the manual: [https://truecharts.org/charts/stable/meshcentral](https://truecharts.org/charts/stable/meshcentral)
---
TrueCharts can only exist due to the incredible effort of our staff.
Please consider making a [donation](https://truecharts.org/sponsor) or contributing back to the project any way you can!

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,167 @@
{{/* Define the secret */}}
{{- define "meshcentral.secret" -}}
{{- $fullname := include "tc.v1.common.lib.chart.names.fullname" $ -}}
{{- $secretName := printf "%s-mesh-secret" $fullname -}}
{{- $secretStoreName := printf "%s-sec-store" $fullname -}}
{{- $config := .Values.meshcentral -}}
{{- $mc_custom := .Values.additional_meshcentral -}}
{{- $isScale := false -}}
{{- if hasKey .Values.global "ixChartContext" -}}
{{- $isScale = true -}}
{{- else -}}
{{- $isScale = false -}}
{{- end -}}
{{- if $isScale -}}
{{- if .Values.additional_meshcentral -}}
{{- $mc_custom = (include "render.custom.scale.values" $mc_custom) -}}
{{- $mc_custom_merged := dict -}}
{{/* We created a new unique section# for each key we parsed */}}
{{/* And we merge them here, as without it we would have multiple */}}
{{/* same top level keys */}}
{{- range $section := (fromYaml $mc_custom) -}}
{{- $mc_custom_merged = mergeOverwrite $mc_custom_merged $section -}}
{{- end -}}
{{- $config = mergeOverwrite $config $mc_custom_merged -}}
{{- end -}}
{{- end -}}
{{- $sessionKey := "" -}}
{{- with (lookup "v1" "Secret" .Release.Namespace $secretStoreName) -}}
{{- $sessionKey = (index .data "session_key") | b64dec -}}
{{- else -}}
{{- $sessionKey = randAlphaNum 32 -}}
{{- end -}}
{{/* Inject some values */}}
{{- $_ := set $config "$schema" "http://info.meshcentral.com/downloads/meshcentral-config-schema.json" -}}
{{- if not (hasKey $config "settings") -}}
{{- $_ := set $config "settings" dict -}}
{{- end -}}
{{- $_ := set $config.settings "mongoDB" (.Values.mongodb.creds.complete | trimAll "\"") -}}
{{- $_ := set $config.settings "mongoDbName" .Values.mongodb.mongodbDatabase -}}
{{- $_ := set $config.settings "sessionKey" $sessionKey -}}
{{- $_ := set $config.settings "port" .Values.service.main.ports.main.port -}}
{{/* Force disable some functions that are not appliable in docker */}}
{{- $_ := set $config.settings "selfUpdate" false -}}
{{- $_ := set $config.settings "cleanNpmCacheOnUpdate" false -}}
{{/* Disallows administrators to update the server from the My Server tab. For ANY domains defined */}}
{{- range $domain := $config.domains -}}
{{- if not (hasKey $domain "myServer") -}}
{{- $_ := set $domain "myServer" dict -}}
{{- end -}}
{{- $_ := set $domain.myServer "Upgrade" false -}}
{{- end -}}
{{- if $isScale -}}
{{- $config = (include "mergeAndrenameDefaultDomain" $config) -}}
{{- $config = (include "prune.keys.scale" (fromYaml $config)) -}}
{{- else -}}
{{- $config = (include "prune.keys" $config) -}}
{{- end }}
secret:
sec-store:
enabled: true
data:
{{/* Store session_key to reuse */}}
session_key: {{ $sessionKey }}
mesh-secret:
enabled: true
data:
{{/* The actual config */}}
config.json: |
{{- toPrettyJson (fromYaml $config) | nindent 8 }}
{{- end -}}
{{/* Prunes keys that start with _ */}}
{{- define "prune.keys" -}}
{{- $values := . -}}
{{- range $k, $v := $values -}}
{{- if (hasPrefix "_" $k) -}}
{{- $_ := unset $values $k -}}
{{- else -}}
{{- if eq (kindOf $v) "map" -}}
{{- $v := (include "prune.keys" $v) -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{- toYaml $values -}}
{{- end -}}
{{/* Only on TrueNAS Scale */}}
{{/* Prunes empty lists */}}
{{/* Prunes int and float equal to -99 */}}
{{/* Prunes empty strings (Does not prune empty strings in lists) */}}
{{/* Prunes keys that start with _ */}}
{{/* There are cases you want to pass strings or bools on the same field */}}
{{/* So if eq string, and eq true/false/null convert to the real values */}}
{{- define "prune.keys.scale" -}}
{{- $values := . -}}
{{- range $k, $v := $values -}}
{{- if eq (kindOf $v) "string" -}}
{{- if not $v -}}
{{- $_ := unset $values $k -}}
{{- else if or (eq $v "true") -}}
{{- $_ := set $values $k true -}}
{{- else if or (eq $v "false") -}}
{{- $_ := set $values $k false -}}
{{- else if or (eq $v "null") -}}
{{- $_ := set $values $k nil -}} {{/* nil == null on helm */}}
{{- end -}}
{{- end -}}
{{- if or (eq (kindOf $v) "float64") (eq (kindOf $v) "int64") -}}
{{- if eq (int $v) -99 -}}
{{- $_ := unset $values $k -}}
{{- end -}}
{{- end -}}
{{- if eq (kindOf $v) "slice" -}}
{{- if not $v -}}
{{- $_ := unset $values $k -}}
{{- end -}}
{{- end -}}
{{- if (hasPrefix "_" $k) -}}
{{- $_ := unset $values $k -}}
{{- else -}}
{{- if eq (kindOf $v) "map" -}}
{{- $v := (include "prune.keys.scale" $v) -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{- toYaml $values -}}
{{- end -}}
{{/* Renames tcdefaultdomain variable to "" as this is the key used by MeshCentral */}}
{{/* but SCALE GUI does not handle it well */}}
{{- define "mergeAndrenameDefaultDomain" -}}
{{- $values := . -}}
{{- $defaultDomain := index $values.domains "" -}}
{{- $computedDomain := mergeOverwrite $defaultDomain $values.domains.tcdefaultdomain -}}
{{- $_ := set $values.domains "" $computedDomain -}}
{{- $_ := unset $values.domains "tcdefaultdomain" -}}
{{- toYaml $values -}}
{{- end -}}
{{/* Takes a list of dicts with a value and a */}}
{{/* key formatted in dot notaion and converts it to yaml */}}
{{- define "render.custom.scale.values" -}}
{{- $values := . }}
{{- $section := 1 }}
{{- range $item := $values }}
{{- $indent := 2 }}
{{- printf "section%v" $section | nindent 0 }}:
{{- $section = (add 1 (int $section)) }}
{{- range (split "." $item.key) }}
{{- . | nindent (int $indent) }}:
{{- $indent = (add 2 (int $indent)) }}
{{- end }}
{{- printf " %v" $item.value }}
{{- end }}
{{- end -}}

View File

@ -0,0 +1,22 @@
{{/* Make sure all variables are set properly */}}
{{ include "tc.v1.common.loader.init" . }}
{{- $_ := mustMergeOverwrite .Values (include "meshcentral.secret" $ | fromYaml) -}}
{{- define "meshcentral.probes" -}}
probes:
liveness:
type: {{ .Values.service.main.ports.main.protocol }}
path: /health.ashx
readiness:
type: {{ .Values.service.main.ports.main.protocol }}
path: /health.ashx
startup:
type: {{ .Values.service.main.ports.main.protocol }}
path: /health.ashx
{{- end -}}
{{- $_ := mergeOverwrite .Values.workload.main.podSpec.containers.main (include "meshcentral.probes" . | fromYaml) -}}
{{/* Render the templates */}}
{{ include "tc.v1.common.loader.apply" . }}

View File