From c724d06d799e1f7a6b31e9df7c08a05aaaf3880c Mon Sep 17 00:00:00 2001 From: Vladislav Nikolov Date: Mon, 16 Sep 2024 16:08:01 +0300 Subject: [PATCH] GDB-10778 Fix GraphDB configuration examples --- examples/configuring/README.md | 4 ++-- examples/configuring/resources.yaml | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/examples/configuring/README.md b/examples/configuring/README.md index 3512d9f..0158dbd 100644 --- a/examples/configuring/README.md +++ b/examples/configuring/README.md @@ -83,13 +83,13 @@ It also supports GraphDB properties in the form of `-Dproperty=value` ```yaml configuration: - javaArguments: "-Xms4G -Xmx4G" + javaArguments: "-Xms4G -Xmx4G -Dgraphdb.external-url=example.com" ``` ## Extra Environment Variables from a source This section explains how to configure GraphDB with environment variables -using existing Kubernetes ConfigMaps and Secrets. This approach +using an existing Kubernetes ConfigMap or an existing Secrets. This approach ensures that additional configurations are injected alongside existing ones without mixing different contexts. diff --git a/examples/configuring/resources.yaml b/examples/configuring/resources.yaml index 2e5ecc6..7c9b39f 100644 --- a/examples/configuring/resources.yaml +++ b/examples/configuring/resources.yaml @@ -18,7 +18,7 @@ kind: Secret metadata: name: custom-graphdb-secret-properties data: - graphdb-secrets.properties: {{ "graphdb.connector.keystorePass: xxxx" | b64enc | quote }} + graphdb-secrets.properties: --- apiVersion: v1 @@ -37,4 +37,5 @@ kind: Secret metadata: name: connector-secret-properties data: - graphdb.gpt.token: {{ "" | b64enc | quote }} + graphdb.gpt.token: + \ No newline at end of file