addressing concerns over busybox usage, by switching to minimal chown binary, closes #13

This commit is contained in:
El RIDO 2020-08-30 12:21:38 +02:00
parent 372ed866ac
commit 4b98c98f49
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92

View file

@ -71,8 +71,8 @@ spec:
spec:
initContainers:
- name: privatebin-volume-permissions
image: busybox
command: ['chown', '65534:82', '/mnt']
image: privatebin/chown:1.31.1-musl-1.1.24-r9
command: ['65534:82', '/mnt']
securityContext:
runAsUser: 0
readOnlyRootFilesystem: True