Skip to content

Commit

Permalink
Add vault folder permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
berrydenhartog committed Jan 28, 2025
1 parent 46710f9 commit c7624d6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion base/vault/statefullset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@ spec:
securityContext:
runAsNonRoot: true
runAsGroup: 1000
runAsUser: 100
runAsUser: 1000
fsGroup: 1000
initContainers:
- name: set-permissions
image: busybox:1.37.0
command: ['sh', '-c', "chown -R 1000:1000 /vault/data", "chmod -R 750 /vault/data"]
containers:
- name: vault
image: hashicorp/vault:1.16.1
Expand Down

0 comments on commit c7624d6

Please sign in to comment.