From fa49124ebf47fbe067e53f8c29c20309063cbbe1 Mon Sep 17 00:00:00 2001
From: Martin Weise <martin.weise@tuwien.ac.at>
Date: Thu, 2 Jan 2025 17:25:23 +0100
Subject: [PATCH] Need https

---
 helm/dbrepo/templates/dashboard-secret.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/helm/dbrepo/templates/dashboard-secret.yaml b/helm/dbrepo/templates/dashboard-secret.yaml
index c224c1d17b..7fdb1fed8d 100644
--- a/helm/dbrepo/templates/dashboard-secret.yaml
+++ b/helm/dbrepo/templates/dashboard-secret.yaml
@@ -7,8 +7,8 @@ metadata:
   namespace: {{ include "common.names.namespace" . | quote }}
 stringData:
   GF_SERVER_PROTOCOL: "http"
-  GF_SERVER_DOMAIN: "dashboard-service"
-  GF_SERVER_ROOT_URL: "http://%(domain)s/dashboard/"
+  GF_SERVER_DOMAIN: "{{ .Values.hostname }}"
+  GF_SERVER_ROOT_URL: "https://%(domain)s/dashboard/"
   GF_AUTH_ANONYMOUS_ENABLED: "true"
   GF_AUTH_ANONYMOUS_ORG_ROLE: "Viewer"
   GF_SERVER_SERVE_FROM_SUB_PATH: "true"
-- 
GitLab