From ecc2e8b71e3fa13ba9be5d98b5c09758ba573a49 Mon Sep 17 00:00:00 2001 From: Derek Perkins Date: Mon, 19 Aug 2019 19:04:11 -0600 Subject: [PATCH] helm: delete mysql.sock.lock in init container Signed-off-by: Derek Perkins --- helm/vitess/templates/_vttablet.tpl | 1 + 1 file changed, 1 insertion(+) diff --git a/helm/vitess/templates/_vttablet.tpl b/helm/vitess/templates/_vttablet.tpl index a480acaf33e..ded11358c48 100644 --- a/helm/vitess/templates/_vttablet.tpl +++ b/helm/vitess/templates/_vttablet.tpl @@ -195,6 +195,7 @@ spec: # remove the old socket file if it is still around rm -f /vtdataroot/tabletdata/mysql.sock + rm -f /vtdataroot/tabletdata/mysql.sock.lock {{- end -}}