From 708f6270ee01f7eb496695b2319821f2883fb756 Mon Sep 17 00:00:00 2001 From: ycz008 Date: Tue, 2 Apr 2024 15:36:38 +0800 Subject: [PATCH] prod chown mysql 999 --- prod-upgrade/mysql/mysql-0.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prod-upgrade/mysql/mysql-0.yaml b/prod-upgrade/mysql/mysql-0.yaml index 1f6aaac..54350a4 100644 --- a/prod-upgrade/mysql/mysql-0.yaml +++ b/prod-upgrade/mysql/mysql-0.yaml @@ -67,7 +67,7 @@ spec: sysctl -w net.ipv4.tcp_keepalive_intvl=10 sysctl -w net.ipv4.tcp_keepalive_probes=3 mkdir -p /var/lib/mysql/{logs,data} - chown -R mysql.mysql /var/lib/mysql + chown -R 999:999 /var/lib/mysql securityContext: privileged: true containers: