summaryrefslogtreecommitdiff
path: root/contrib/k8s-emc
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/k8s-emc')
-rw-r--r--contrib/k8s-emc/mysql-statefulset.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/k8s-emc/mysql-statefulset.yml b/contrib/k8s-emc/mysql-statefulset.yml
index 1698f0f..7b8a697 100644
--- a/contrib/k8s-emc/mysql-statefulset.yml
+++ b/contrib/k8s-emc/mysql-statefulset.yml
@@ -28,7 +28,7 @@ spec:
initContainers:
- name: prepare-mysql-volumes
image: busybox
- command: ['sh', '-c', 'chown 27:27 /srv/lib && chmod 700 /srv/lib && mkdir -p /srv/tmp/log /srv/tmp/run /srv/tmp/files && ln -s /dev/stderr /srv/tmp/log/mysqld.log && chown 27:27 /srv/tmp/log/mysqld.log /srv/tmp/run /srv/tmp/files']
+ command: ['sh', '-c', 'chown 27:27 /srv/lib && chmod 700 /srv/lib && mkdir -p /srv/tmp/log /srv/tmp/run /srv/tmp/files && ln -sf /dev/stderr /srv/tmp/log/mysqld.log && chown 27:27 /srv/tmp/log/mysqld.log /srv/tmp/run /srv/tmp/files']
securityContext:
runAsUser: 0
volumeMounts: