hmm
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
kubeVersion: ">=1.16.0-0"
|
kubeVersion: ">=1.16.0-0"
|
||||||
name: meshcentral
|
name: meshcentral
|
||||||
version: 9.0.12
|
version: 9.0.13
|
||||||
appVersion: "1.1.1"
|
appVersion: "1.1.1"
|
||||||
description: MeshCentral is a full computer management web site
|
description: MeshCentral is a full computer management web site
|
||||||
type: application
|
type: application
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
{{- $sessionKey := "" }}
|
{{- $sessionKey := "" }}
|
||||||
{{- with (lookup "v1" "Secret" .Release.Namespace $secretStorageName) }}
|
{{- with (lookup "v1" "Secret" .Release.Namespace $secretStorageName) }}
|
||||||
{{- $sessionKey = (index .data "session_key") }}
|
{{- $sessionKey = (index .data "session_key") | b64dec }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{- $sessionKey = randAlphaNum 32 | b64enc }}
|
{{- $sessionKey = randAlphaNum 32 | b64enc }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@@ -44,7 +44,7 @@
|
|||||||
|
|
||||||
{{- $_ := set $config.settings "mongoDB" (.Values.mongodb.url.complete | trimAll "\"") }}
|
{{- $_ := set $config.settings "mongoDB" (.Values.mongodb.url.complete | trimAll "\"") }}
|
||||||
{{- $_ := set $config.settings "mongoDbName" .Values.mongodb.mongodbDatabase }}
|
{{- $_ := 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 }}
|
{{- $_ := set $config.settings "port" .Values.service.main.ports.main.port }}
|
||||||
|
|
||||||
{{/* Force disable some functions that are not appliable in docker */}}
|
{{/* Force disable some functions that are not appliable in docker */}}
|
||||||
@@ -77,7 +77,7 @@ metadata:
|
|||||||
{{- include "tc.common.labels" . | nindent 4 }}
|
{{- include "tc.common.labels" . | nindent 4 }}
|
||||||
data:
|
data:
|
||||||
{{/* Store session_key to reuse */}}
|
{{/* Store session_key to reuse */}}
|
||||||
session_key: {{ $sessionKey }}
|
session_key: {{ $sessionKey | b64enc }}
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user