Commit new Chart releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2022-10-24 21:58:56 +00:00
parent 3cc089f33e
commit 956ba0034b
12 changed files with 4826 additions and 0 deletions

View File

@ -0,0 +1,99 @@
# Changelog
## [meshcentral-5.0.0](https://github.com/truecharts/charts/compare/meshcentral-4.0.16...meshcentral-5.0.0) (2022-10-24)
### Chore
- Auto-update chart README [skip ci]
### Feat
- BREAKING CHANGE - Rework to add support for (almost) all configuration options ([#4137](https://github.com/truecharts/charts/issues/4137))
## [meshcentral-4.0.16](https://github.com/truecharts/charts/compare/meshcentral-4.0.15...meshcentral-4.0.16) (2022-10-19)
### Chore
- Auto-update chart README [skip ci]
- update helm general non-major ([#4122](https://github.com/truecharts/charts/issues/4122))
## [meshcentral-4.0.15](https://github.com/truecharts/charts/compare/meshcentral-4.0.14...meshcentral-4.0.15) (2022-10-12)
### Chore
- Auto-update chart README [skip ci]
- update helm general non-major ([#4071](https://github.com/truecharts/charts/issues/4071))
## [meshcentral-4.0.14](https://github.com/truecharts/charts/compare/meshcentral-4.0.13...meshcentral-4.0.14) (2022-10-07)
### Chore
- Auto-update chart README [skip ci]
- Auto-update chart README [skip ci]
- update helm general non-major
## [meshcentral-4.0.14](https://github.com/truecharts/charts/compare/meshcentral-4.0.13...meshcentral-4.0.14) (2022-10-07)
### Chore
- Auto-update chart README [skip ci]
- update helm general non-major
## [meshcentral-4.0.13](https://github.com/truecharts/charts/compare/meshcentral-4.0.12...meshcentral-4.0.13) (2022-10-05)
### Chore
- Auto-update chart README [skip ci]
- update helm general non-major
## [meshcentral-4.0.12](https://github.com/truecharts/charts/compare/meshcentral-4.0.11...meshcentral-4.0.12) (2022-10-04)
### Chore
- split addons in smaller templates ([#3979](https://github.com/truecharts/charts/issues/3979))
- 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)
### Chore
- Auto-update chart README [skip ci]
- update helm general non-major ([#3898](https://github.com/truecharts/charts/issues/3898))
## [meshcentral-4.0.8](https://github.com/truecharts/charts/compare/meshcentral-4.0.7...meshcentral-4.0.8) (2022-09-22)

View File

@ -0,0 +1,9 @@
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 10.7.1
- name: mongodb
repository: https://charts.truecharts.org/
version: 2.0.35
digest: sha256:2fb9d45a5b3560f858fd2e0bc2f158130976195cc054b4318ca214a719310bfb
generated: "2022-10-24T21:57:13.728503665Z"

View File

@ -0,0 +1,34 @@
apiVersion: v2
kubeVersion: ">=1.16.0-0"
name: meshcentral
version: 5.0.0
appVersion: "1.0.85"
description: MeshCentral is a full computer management web site
type: application
deprecated: false
home: https://truecharts.org/docs/charts/incubator/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/incubator/meshcentral
- https://github.com/Ylianst/MeshCentral
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 10.7.1
- condition: mongodb.enabled
name: mongodb
repository: https://charts.truecharts.org/
version: 2.0.35
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,107 @@
# meshcentral
MeshCentral is a full computer management web site
TrueCharts can be installed as both *normal* Helm Charts or as Apps on TrueNAS SCALE.
This readme is just an automatically generated general guide on installing our Helm Charts and Apps.
For more information, please click here: [meshcentral](https://truecharts.org/docs/charts/incubator/meshcentral)
**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)**
## Source Code
* <https://github.com/truecharts/charts/tree/master/charts/incubator/meshcentral>
* <https://github.com/Ylianst/MeshCentral>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| https://charts.truecharts.org/ | mongodb | 2.0.35 |
| https://library-charts.truecharts.org | common | 10.7.1 |
## Installing the Chart
### TrueNAS SCALE
To install this Chart on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/docs/manual/SCALE%20Apps/Installing-an-App).
### Helm
To install the chart with the release name `meshcentral`
```console
helm repo add TrueCharts https://charts.truecharts.org
helm repo update
helm install meshcentral TrueCharts/meshcentral
```
## Uninstall
### TrueNAS SCALE
**Upgrading, Rolling Back and Uninstalling the Chart**
To upgrade, rollback or delete this Chart from TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/docs/manual/SCALE%20Apps/Upgrade-rollback-delete-an-App).
### Helm
To uninstall the `meshcentral` deployment
```console
helm uninstall meshcentral
```
## Configuration
### Helm
#### Available Settings
Read through the values.yaml file. It has several commented out suggested values.
Other values may be used from the [values.yaml](https://github.com/truecharts/library-charts/tree/main/charts/stable/common/values.yaml) from the [common library](https://github.com/truecharts/library-charts/tree/main/charts/common).
#### Configure using the command line
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
```console
helm install meshcentral \
--set env.TZ="America/New York" \
TrueCharts/meshcentral
```
#### Configure using a yaml file
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
```console
helm install meshcentral TrueCharts/meshcentral -f values.yaml
```
#### Connecting to other charts
If you need to connect this Chart to other Charts on TrueNAS SCALE, please refer to our [Linking Charts Internally](https://truecharts.org/docs/manual/SCALE%20Apps/linking-apps) quick-start guide.
## Support
- Please check our [quick-start guides for TrueNAS SCALE](https://truecharts.org/docs/manual/SCALE%20Apps/Important-MUST-READ).
- See the [Website](https://truecharts.org)
- Check our [Discord](https://discord.gg/tVsPTHWTtr)
- Open a [issue](https://github.com/truecharts/apps/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,8 @@
MeshCentral is a full computer management web site
This App is supplied by TrueCharts, for more information visit the manual: [https://truecharts.org/docs/charts/incubator/meshcentral](https://truecharts.org/docs/charts/incubator/meshcentral)
---
TrueCharts can only exist due to the incredible effort of our staff.
Please consider making a [donation](https://truecharts.org/docs/about/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,117 @@
{{/* Define the secret */}}
{{- define "meshcentral.secret" -}}
{{- $secretName := printf "%s-secret" (include "tc.common.names.fullname" .) }}
{{- $config := .Values.meshcentral }}
{{- $isScale := false }}
{{- if hasKey .Values.global "isScale" }}
{{- $isScale = .Values.global.isScale }}
{{- else }}
{{- $isScale = false }}
{{- end }}
{{- $sessionKey := "" }}
{{- with (lookup "v1" "Secret" .Release.Namespace $secretName) }}
{{- $sessionKey = (index .data "session_key") }}
{{- else }}
{{- $sessionKey = randAlphaNum 32 }}
{{- end }}
{{/* Inject some values */}}
{{- $_ := set $config "$schema" "http://info.meshcentral.com/downloads/meshcentral-config-schema.json" }}
{{- $_ := set $config "__comment__" "This file is generated dynamically at install time, do not attempt to modify it. On next start it will be re-generated" }}
{{- if not (hasKey $config "settings") }}
{{- $_ := set $config "settings" dict }}
{{- end }}
{{- $_ := set $config.settings "mongoDB" (.Values.mongodb.url.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 "prune.keys.scale" $config) }}
{{- else }}
{{- $config = (include "prune.keys" $config) }}
{{- end }}
---
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: {{ $secretName }}
labels:
{{- include "tc.common.labels" . | nindent 4 }}
data:
{{/* Store session_key to reuse */}}
session_key: {{ $sessionKey | b64enc }}
{{/* The actual config */}}
config.json: |
{{- toPrettyJson (fromYaml $config) | b64enc | nindent 4 }}
{{- 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 _ */}}
{{- define "prune.keys.scale" }}
{{- $values := . }}
{{- range $k, $v := $values }}
{{- if eq (kindOf $v) "string" }}
{{- if not $v }}
{{- $_ := unset $values $k }}
{{- 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 }}

View File

@ -0,0 +1,8 @@
{{/* Make sure all variables are set properly */}}
{{- include "tc.common.loader.init" . }}
{{/* Render secret */}}
{{- include "meshcentral.secret" . }}
{{/* Render the templates */}}
{{ include "tc.common.loader.apply" . }}

View File