Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
193 changes: 129 additions & 64 deletions CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ apiVersion: v2
name: graphdb
description: GraphDB is a highly efficient, scalable and robust graph database with RDF and SPARQL support.
type: application
version: 12.3.0
version: 12.3.1
appVersion: 11.3.0
kubeVersion: ^1.26.0-0
home: https://graphdb.ontotext.com/
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Helm Chart for GraphDB

[![CI](https://github.com/Ontotext-AD/graphdb-helm/actions/workflows/ci.yml/badge.svg)](https://github.com/Ontotext-AD/graphdb-helm/actions/workflows/ci.yml)
![Version: 12.3.0](https://img.shields.io/badge/Version-12.3.0-informational?style=flat-square)
![Version: 12.3.1](https://img.shields.io/badge/Version-12.3.1-informational?style=flat-square)
![AppVersion: 11.3.0](https://img.shields.io/badge/AppVersion-11.3.0-informational?style=flat-square)

<!--
Expand Down
3 changes: 1 addition & 2 deletions files/scripts/graphdb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,8 @@ function cloudBackup {
-o "${response}" \
-w "Status=%{response_code}" \
--header "Authorization: Basic ${GRAPHDB_AUTH_TOKEN}" \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data-binary "${backup_options}" \
--form-string "params=${backup_options}" \
--url "${GRAPHDB_PROTOCOL}://${GRAPHDB_SERVICE_NAME}:${GRAPHDB_SERVICE_PORT}/rest/recovery/cloud-backup")

if ! echo "${response_status}" | grep -q 'Status=200' ; then
Expand Down
2 changes: 2 additions & 0 deletions templates/graphdb/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -439,8 +439,10 @@ spec:
volumeMounts:
- name: {{ .Values.persistence.volumeClaimTemplate.name }}
mountPath: /opt/graphdb/home
{{- if .Values.tempVolume.enabled }}
- name: temp-dir
mountPath: /tmp
{{- end }}
{{- if .Values.license.existingSecret }}
- name: graphdb-license
mountPath: {{ .Values.license.mountPath }}
Expand Down
12 changes: 6 additions & 6 deletions templates/jobs/secret-backup-options.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{{- if and .Values.backup.enabled (not .Values.backup.optionsSecret.existingSecret) }}
{{- $options := dict }}
{{- if eq .Values.backup.type "cloud" -}}
{{- $options = set $options "bucketUri" (required "backup.cloud.bucketUri is required" .Values.backup.cloud.bucketUri) -}}
{{- end -}}
{{- $options = merge (default dict .Values.backup.options) $options -}}
apiVersion: v1
kind: Secret
metadata:
Expand All @@ -13,10 +18,5 @@ metadata:
type: Opaque
stringData:
{{ .Values.backup.optionsSecret.secretKey }}: |
{
"backupOptions": {{- .Values.backup.options | toPrettyJson | nindent 8 }}
{{- if eq .Values.backup.type "cloud" }},
"bucketUri": {{ required "backup.cloud.bucketUri is required" .Values.backup.cloud.bucketUri | quote }}
{{- end }}
}
{{- $options | toPrettyJson | nindent 4 }}
{{- end }}
4 changes: 2 additions & 2 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -768,8 +768,8 @@ backup:
# Ref: https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones
timezone: ""

# Backup options that will be injected as JSON in the default backup options Secret. \
# These configurations define the backup behaviour such as including or excluding repositories or system data.
# Backup options that will be injected as JSON in the default backup options Secret.
# These configurations define the backup behavior such as including or excluding repositories or system data.
#
# Ref: https://graphdb.ontotext.com/documentation/11.3/backup-and-restore.html#backup-options
options:
Expand Down