Skip to content

Commit

Permalink
GDB-10521: Containers workdir
Browse files Browse the repository at this point in the history
  • Loading branch information
mihailradkov committed Aug 21, 2024
1 parent 5e3d23d commit 0fc46ba
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
with `backup.cloud`
- Added a new example under [examples/backup-local](examples/backup-local) showing how to use the local backup feature

### Fixed

- Updated the GraphDB containers to explicitly use `/tmp` as a working directory to avoid permission errors due to the
default security context's `readOnlyRootFilesystem` when the container has a starting folder different from `/tmp`.

## Version 11.1.3

### New
Expand Down
1 change: 1 addition & 0 deletions templates/graphdb/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ spec:
- name: {{ .Chart.Name }}
image: {{ include "graphdb.image" . }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
workingDir: /tmp
{{- with .Values.command }}
command: {{ toYaml . | nindent 12 }}
{{- end }}
Expand Down
1 change: 1 addition & 0 deletions templates/proxy/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ spec:
- name: {{ include "graphdb-proxy.chartName" . }}
image: {{ include "graphdb.image" . }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
workingDir: /tmp
{{- if .Values.proxy.command }}
command: {{ toYaml .Values.proxy.command | nindent 12 }}
{{- else }}
Expand Down

0 comments on commit 0fc46ba

Please sign in to comment.