diff --git a/CHANGELOG.md b/CHANGELOG.md index 9441773..78244d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ # Unreleased +* Added the ability to add additional settings to the configmap of the stardog configmap * Add Stardog server start arguments to the values file (#66) * Provide parameters for setting the origin of the busybox image which is used as a part of the Stardog pod initialization (#60) diff --git a/charts/stardog/README.md b/charts/stardog/README.md index 627938f..4b6253b 100644 --- a/charts/stardog/README.md +++ b/charts/stardog/README.md @@ -53,6 +53,7 @@ Configuration Parameters | `busybox.image.tag` | The Docker image tag for busybox image (used as a part of Stardog initialization) | | `busybox.image.username` | The Docker registry username for busybox image registry (used as a part of Stardog initialization) | | `busybox.image.password` | The Docker registry password for the busybox image registry (used as a part of Stardog initialization) | +| `additionalStardogProperties` | Allow adding additional settings to stardog.properties file | The default values are specified in `values.yaml` as well as the required values for the ZooKeeper chart. diff --git a/charts/stardog/templates/configmap.yaml b/charts/stardog/templates/configmap.yaml index 9483c0a..b909586 100644 --- a/charts/stardog/templates/configmap.yaml +++ b/charts/stardog/templates/configmap.yaml @@ -32,3 +32,4 @@ data: pack.zookeeper.address={{ if .Values.zookeeper.enabled }}{{- template "zkservers" . }}{{ else }}{{ .Values.zookeeper.addresses }}{{ end }} pack.node.join.retry.count=15 pack.node.join.retry.delay=1m + {{- .Values.additionalStardogProperties | nindent 4 }} diff --git a/charts/stardog/values.yaml b/charts/stardog/values.yaml index fbb0d65..93938e8 100644 --- a/charts/stardog/values.yaml +++ b/charts/stardog/values.yaml @@ -117,6 +117,12 @@ readinessProbe: periodSeconds: 5 timeoutSeconds: 3 +# Add additional settings to the stardog config file. e.g. +# additionalStardogProperties: | +# logging.slow_query.enabled=true +# logging.slow_query.time=10s +additionalStardogProperties: | + # The busybox image is used as light weight init container as a part of # stardog initialization. busybox: @@ -165,4 +171,3 @@ zookeeper: # failureThreshold: 6 # successThreshold: 1 # probeCommandTimeout: 2 -