From 1d149dcb5e3f9ac45dffb400a295933d369aca48 Mon Sep 17 00:00:00 2001 From: sagit <36596628+Sagit-chu@users.noreply.github.com> Date: Fri, 1 Apr 2022 14:06:56 +0800 Subject: [PATCH] fix(meshcentral): Fix port type (#2373) * fix(meshcentral): Fix port type * change positions * Update Chart.yaml --- charts/incubator/meshcentral/Chart.yaml | 2 +- charts/incubator/meshcentral/questions.yaml | 4 ++-- charts/incubator/meshcentral/templates/_configmap.tpl | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/incubator/meshcentral/Chart.yaml b/charts/incubator/meshcentral/Chart.yaml index 0f4087f2a3e..ef5b3725c4b 100644 --- a/charts/incubator/meshcentral/Chart.yaml +++ b/charts/incubator/meshcentral/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 kubeVersion: ">=1.16.0-0" name: meshcentral -version: 0.0.2 +version: 0.0.3 appVersion: "latest" description: MeshCentral is a full computer management web site type: application diff --git a/charts/incubator/meshcentral/questions.yaml b/charts/incubator/meshcentral/questions.yaml index f99ca036107..1db0bfa7470 100644 --- a/charts/incubator/meshcentral/questions.yaml +++ b/charts/incubator/meshcentral/questions.yaml @@ -89,7 +89,7 @@ questions: default: "my.domain.com" - variable: REVERSE_PROXY label: "REVERSE_PROXY" - description: "set to your reverse proxy IP if you want to put meshcentral behind a reverse proxy" + description: "default false, set to your reverse proxy IP if you want to put meshcentral behind a reverse proxy" schema: type: string default: "" @@ -176,7 +176,7 @@ questions: label: "Port Type" schema: type: string - default: "HTTP" + default: "HTTPS" enum: - value: HTTP description: "HTTP" diff --git a/charts/incubator/meshcentral/templates/_configmap.tpl b/charts/incubator/meshcentral/templates/_configmap.tpl index 7fb3864ba44..553b99b1518 100644 --- a/charts/incubator/meshcentral/templates/_configmap.tpl +++ b/charts/incubator/meshcentral/templates/_configmap.tpl @@ -41,8 +41,8 @@ data: "SelfUpdate": false, "AllowFraming": false, "WebRTC": false, - "mongodbcol": "meshcentral", - "mongodb": {{ ( printf "%s?client_encoding=utf8" ( .Values.mongodb.url.complete | trimAll "\"" ) ) | quote }} + "mongodb": {{ ( printf "%s?client_encoding=utf8" ( .Values.mongodb.url.complete | trimAll "\"" ) ) | quote }}, + "mongodbcol": "meshcentral" }, "domains": { "": {