From 995b628310d8e1db77e699fa7f3db5978826e102 Mon Sep 17 00:00:00 2001 From: Mihail Radkov Date: Mon, 11 Nov 2024 18:03:04 +0200 Subject: [PATCH] Added check when configuring the license path If there is no mounted license, GraphDB would error therefore we need to check for the presence of a configured license secret. --- templates/graphdb/configmap-properties.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/graphdb/configmap-properties.yaml b/templates/graphdb/configmap-properties.yaml index f7ba910..c063baa 100644 --- a/templates/graphdb/configmap-properties.yaml +++ b/templates/graphdb/configmap-properties.yaml @@ -15,7 +15,9 @@ data: # See https://graphdb.ontotext.com/documentation/ for supported properties graphdb.connector.port={{ .Values.containerPorts.http }} graphdb.append.request.id.headers=true + {{- if .Values.license.existingSecret }} graphdb.license.file={{ .Values.license.mountPath | trimSuffix "/" }}/{{ .Values.license.licenseFilename }} + {{- end }} graphdb.workbench.importDirectory=/opt/graphdb/home/graphdb-import graphdb.ontop.jdbc.path=/opt/graphdb/home/jdbc-driver graphdb.extra.plugins=/opt/graphdb/home/extra-plugins