From 6aa35fd2bca4abfbbd978bdff0c16991877b8d37 Mon Sep 17 00:00:00 2001 From: Byeonghoon Yoo Date: Sun, 24 Mar 2024 23:27:55 +0900 Subject: [PATCH] fix(helm): mysql permission Signed-off-by: Byeonghoon Yoo --- values/mysql/backbone.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/values/mysql/backbone.yaml b/values/mysql/backbone.yaml index 4dfc16b..db5c612 100644 --- a/values/mysql/backbone.yaml +++ b/values/mysql/backbone.yaml @@ -139,7 +139,7 @@ primary: containerSecurityContext: enabled: true seLinuxOptions: { } - runAsUser: 65534 + runAsUser: 1001 runAsGroup: 65534 runAsNonRoot: true allowPrivilegeEscalation: false @@ -251,7 +251,7 @@ rbac: volumePermissions: ## @param volumePermissions.enabled Enable init container that changes the owner and group of the persistent volume(s) mountpoint to `runAsUser:fsGroup` ## - enabled: false + enabled: true ## @param volumePermissions.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if volumePermissions.resources is set (volumePermissions.resources is recommended for production). ## More information: https://github.com/bitnami/charts/blob/main/bitnami/common/templates/_resources.tpl#L15 ##