Merge pull request #133 from tompizmor/fix_non_root_permissions

Fix non-root permission issue
This commit is contained in:
tompizmor 2017-10-06 18:13:21 +02:00 committed by GitHub
commit 7258aaaa1f
1 changed files with 7 additions and 1 deletions

View File

@ -36,6 +36,13 @@ items:
labels:
io.kompose.service: mariadb
spec:
initContainers:
- name: volume-permissions
image: busybox
command: ['sh', '-c', 'chmod -R g+rwX /bitnami']
volumeMounts:
- mountPath: /bitnami
name: mariadb-mariadb-data
containers:
- env:
- name: ALLOW_EMPTY_PASSWORD
@ -70,4 +77,3 @@ items:
status: {}
kind: List
metadata: {}