Commit new Chart releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2022-12-11 01:01:43 +00:00
parent 42e3a1ceb9
commit f481c73642
13 changed files with 14 additions and 19 deletions

View File

@ -1,9 +0,0 @@
## [meshcentral-9.0.12](https://github.com/truecharts/charts/compare/meshcentral-9.0.11...meshcentral-9.0.12) (2022-12-11)
### Fix
- decode keys before reencode ([#5258](https://github.com/truecharts/charts/issues/5258))

View File

@ -4,6 +4,11 @@
## [meshcentral-9.0.13](https://github.com/truecharts/charts/compare/meshcentral-9.0.12...meshcentral-9.0.13) (2022-12-11)
## [meshcentral-9.0.12](https://github.com/truecharts/charts/compare/meshcentral-9.0.11...meshcentral-9.0.12) (2022-12-11)
### Fix
@ -92,8 +97,3 @@
## [meshcentral-9.0.8](https://github.com/truecharts/charts/compare/meshcentral-9.0.7...meshcentral-9.0.8) (2022-11-29)

View File

@ -1,7 +1,7 @@
apiVersion: v2
kubeVersion: ">=1.16.0-0"
name: meshcentral
version: 9.0.12
version: 9.0.13
appVersion: "1.1.1"
description: MeshCentral is a full computer management web site
type: application

View File

@ -0,0 +1,4 @@
## [meshcentral-9.0.13](https://github.com/truecharts/charts/compare/meshcentral-9.0.12...meshcentral-9.0.13) (2022-12-11)

View File

@ -30,9 +30,9 @@
{{- $sessionKey := "" }}
{{- with (lookup "v1" "Secret" .Release.Namespace $secretStorageName) }}
{{- $sessionKey = (index .data "session_key") }}
{{- $sessionKey = (index .data "session_key") | b64dec }}
{{- else }}
{{- $sessionKey = randAlphaNum 32 | b64enc}}
{{- $sessionKey = randAlphaNum 32 | b64enc }}
{{- end }}
{{/* Inject some values */}}
@ -44,7 +44,7 @@
{{- $_ := set $config.settings "mongoDB" (.Values.mongodb.url.complete | trimAll "\"") }}
{{- $_ := set $config.settings "mongoDbName" .Values.mongodb.mongodbDatabase }}
{{- $_ := set $config.settings "sessionKey" ($sessionKey | b64dec) }}
{{- $_ := 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 */}}
@ -77,7 +77,7 @@ metadata:
{{- include "tc.common.labels" . | nindent 4 }}
data:
{{/* Store session_key to reuse */}}
session_key: {{ $sessionKey }}
session_key: {{ $sessionKey | b64enc }}
---