Skip to content

Commit

Permalink
GDB-10778 Fix GraphDB configuration examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladislav Nikolov authored and mihailradkov committed Sep 17, 2024
1 parent 6da3b75 commit c724d06
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/configuring/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
5 changes: 3 additions & 2 deletions examples/configuring/resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: <base64-encoded secret properties>

---
apiVersion: v1
Expand All @@ -37,4 +37,5 @@ kind: Secret
metadata:
name: connector-secret-properties
data:
graphdb.gpt.token: {{ "<secret-token>" | b64enc | quote }}
graphdb.gpt.token: <base64-encoded secret token>

0 comments on commit c724d06

Please sign in to comment.