Skip to content

Commit

Permalink
Set permissions for mounted config
Browse files Browse the repository at this point in the history
  • Loading branch information
mimartin12 committed Dec 3, 2024
1 parent 192e317 commit 44d66a2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions charts/self-host/templates/ext-db-client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ spec:
labels:
app: {{ template "bitwarden.dbClient" . }}
spec:
initContainers:
- name: set-permissions
image: busybox
command: ["sh", "-c", "chmod 666 /opt/cloudbeaver/workspace/GlobalConfiguration/.dbeaver/data-sources.json"]
volumeMounts:
- name: db-client-config
mountPath: /opt/cloudbeaver/workspace/GlobalConfiguration/.dbeaver
containers:
- name: db-client
image: "{{ .Values.extensions.dbClient.image.name }}:{{ .Values.extensions.dbClient.image.tag }}"
Expand Down

0 comments on commit 44d66a2

Please sign in to comment.