Commit new Chart releases for TrueCharts
Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
parent
6841c466f9
commit
30bb3b839f
|
@ -0,0 +1,99 @@
|
|||
---
|
||||
title: Changelog
|
||||
---
|
||||
|
||||
**Important:**
|
||||
*for the complete changelog, please refer to the website*
|
||||
|
||||
|
||||
|
||||
## [meshcentral-14.1.8](https://github.com/truecharts/charts/compare/meshcentral-14.1.7...meshcentral-14.1.8) (2024-01-19)
|
||||
|
||||
### Chore
|
||||
|
||||
|
||||
|
||||
- update container image ghcr.io/ylianst/meshcentral to v1.1.19[@b2e718e](https://github.com/b2e718e) by renovate ([#17303](https://github.com/truecharts/charts/issues/17303))
|
||||
|
||||
|
||||
## [meshcentral-14.1.7](https://github.com/truecharts/charts/compare/meshcentral-14.1.6...meshcentral-14.1.7) (2024-01-15)
|
||||
|
||||
### Chore
|
||||
|
||||
|
||||
|
||||
- update container image ghcr.io/ylianst/meshcentral to v1.1.18[@71f8c8d](https://github.com/71f8c8d) by renovate ([#17248](https://github.com/truecharts/charts/issues/17248))
|
||||
|
||||
|
||||
|
||||
|
||||
## [meshcentral-14.1.6](https://github.com/truecharts/charts/compare/meshcentral-14.1.5...meshcentral-14.1.6) (2024-01-09)
|
||||
|
||||
### Chore
|
||||
|
||||
|
||||
|
||||
- update container image common to v17.2.22[@e7c9056](https://github.com/e7c9056) by renovate ([#16986](https://github.com/truecharts/charts/issues/16986))
|
||||
|
||||
|
||||
## [meshcentral-14.1.5](https://github.com/truecharts/charts/compare/meshcentral-14.1.4...meshcentral-14.1.5) (2024-01-02)
|
||||
|
||||
### Chore
|
||||
|
||||
|
||||
|
||||
- force bump to ensure up-to-date catalogs
|
||||
|
||||
|
||||
## [meshcentral-14.1.4](https://github.com/truecharts/charts/compare/meshcentral-14.1.3...meshcentral-14.1.4) (2024-01-01)
|
||||
|
||||
### Chore
|
||||
|
||||
|
||||
|
||||
- increase common version for oci fixes
|
||||
|
||||
- remove non-existent template refs ([#16738](https://github.com/truecharts/charts/issues/16738))
|
||||
|
||||
|
||||
## [meshcentral-14.1.3](https://github.com/truecharts/charts/compare/meshcentral-14.1.0...meshcentral-14.1.3) (2024-01-01)
|
||||
|
||||
### Chore
|
||||
|
||||
|
||||
|
||||
- bump all charts for OCI test push
|
||||
|
||||
- move everything to consume OCI-hosted common-chart dependency
|
||||
|
||||
- update container image common to v17.2.19[@4ebb688](https://github.com/4ebb688) by renovate ([#16733](https://github.com/truecharts/charts/issues/16733))
|
||||
|
||||
- update container image common to v17.2.18[@085ba3c](https://github.com/085ba3c) by renovate ([#16732](https://github.com/truecharts/charts/issues/16732))
|
||||
|
||||
- standardize ./img references ([#16704](https://github.com/truecharts/charts/issues/16704))
|
||||
|
||||
- lints some docs, uses front-matter instead of # h1, and fix list items in changelog ([#16589](https://github.com/truecharts/charts/issues/16589))
|
||||
|
||||
|
||||
## [meshcentral-14.1.2](https://github.com/truecharts/charts/compare/meshcentral-14.1.0...meshcentral-14.1.2) (2024-01-01)
|
||||
|
||||
### Chore
|
||||
|
||||
|
||||
|
||||
- bump all charts for OCI test push
|
||||
|
||||
- move everything to consume OCI-hosted common-chart dependency
|
||||
|
||||
- update container image common to v17.2.18[@085ba3c](https://github.com/085ba3c) by renovate ([#16732](https://github.com/truecharts/charts/issues/16732))
|
||||
|
||||
- standardize ./img references ([#16704](https://github.com/truecharts/charts/issues/16704))
|
||||
|
||||
- lints some docs, uses front-matter instead of # h1, and fix list items in changelog ([#16589](https://github.com/truecharts/charts/issues/16589))
|
||||
## [meshcentral-14.1.0](https://github.com/truecharts/charts/compare/meshcentral-14.0.1...meshcentral-14.1.0) (2023-12-30)
|
||||
|
||||
### Chore
|
||||
|
||||
- update helm general minor by renovate ([#16579](https://github.com/truecharts/charts/issues/16579))
|
||||
|
||||
## [meshcentral-14.0.1](https://github.com/truecharts/charts/compare/meshcentral-14.0.0...meshcentral-14.0.1) (2023-12-26)
|
|
@ -0,0 +1,38 @@
|
|||
annotations:
|
||||
max_scale_version: 23.10.2
|
||||
min_scale_version: 23.10.0
|
||||
truecharts.org/SCALE-support: "true"
|
||||
truecharts.org/category: cloud
|
||||
truecharts.org/max_helm_version: "3.13"
|
||||
truecharts.org/min_helm_version: "3.12"
|
||||
truecharts.org/train: stable
|
||||
apiVersion: v2
|
||||
appVersion: 1.1.19
|
||||
dependencies:
|
||||
- name: common
|
||||
version: 17.2.22
|
||||
repository: oci://tccr.io/truecharts
|
||||
condition: ""
|
||||
alias: ""
|
||||
tags: []
|
||||
import-values: []
|
||||
deprecated: false
|
||||
description: MeshCentral is a full computer management web site
|
||||
home: https://truecharts.org/charts/stable/meshcentral
|
||||
icon: https://truecharts.org/img/hotlink-ok/chart-icons/meshcentral.png
|
||||
keywords:
|
||||
- meshcentral
|
||||
- teamviewer
|
||||
- rdp
|
||||
kubeVersion: ">=1.24.0-0"
|
||||
maintainers:
|
||||
- name: TrueCharts
|
||||
email: info@truecharts.org
|
||||
url: https://truecharts.org
|
||||
name: meshcentral
|
||||
sources:
|
||||
- https://ghcr.io/ylianst/meshcentral
|
||||
- https://github.com/Ylianst/MeshCentral
|
||||
- https://github.com/truecharts/charts/tree/master/charts/stable/meshcentral
|
||||
type: application
|
||||
version: 14.1.8
|
|
@ -0,0 +1,28 @@
|
|||
---
|
||||
title: 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/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)**
|
||||
|
||||
## 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_
|
|
@ -0,0 +1,9 @@
|
|||
|
||||
|
||||
## [meshcentral-14.1.8](https://github.com/truecharts/charts/compare/meshcentral-14.1.7...meshcentral-14.1.8) (2024-01-19)
|
||||
|
||||
### Chore
|
||||
|
||||
|
||||
|
||||
- update container image ghcr.io/ylianst/meshcentral to v1.1.19[@b2e718e](https://github.com/b2e718e) by renovate ([#17303](https://github.com/truecharts/charts/issues/17303))
|
|
@ -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.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,171 @@
|
|||
{{/* 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 "postgres" dict -}}
|
||||
{{- $_ := set $config.settings.postgres "database" .Values.cnpg.main.database -}}
|
||||
{{- $_ := set $config.settings.postgres "user" .Values.cnpg.main.user -}}
|
||||
{{- $_ := set $config.settings.postgres "host" (.Values.cnpg.main.creds.host | trimAll "\"") -}}
|
||||
{{- $_ := set $config.settings.postgres "port" 5432 -}}
|
||||
{{- $_ := set $config.settings.postgres "password" (.Values.cnpg.main.creds.password | trimAll "\"") -}}
|
||||
{{- $_ := 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 -}}
|
|
@ -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" . }}
|
Loading…
Reference in New Issue