helm部署zentao,在部署mysql数据库出现权限问题
https://hub.docker.com/r/easysoft/quickon-zentao
helm repo add zentao https://hub.qucheng.com/chartrepo/stable helm repo update helm search repo zentao/zentao helm upgrade -i zentao-open zentao/zentao --set ingress.enabled=true --set ingress.host=zentao.example.local环境:
K8S 1.25.9-REK2
rancher-longhorn分布式存储
通过helm部署禅道开源版和商业版时,启动mysql时提示以下错误:
mysql 02:58:03.72 2023-05-12T10:58:03.729979068+08:00 mysql 02:58:03.72 Welcome to the Bitnami mysql container 2023-05-12T10:58:03.731207593+08:00 mysql 02:58:03.73 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-mysql 2023-05-12T10:58:03.732378860+08:00 mysql 02:58:03.73 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-mysql/issues 2023-05-12T10:58:03.733581953+08:00 mysql 02:58:03.73 2023-05-12T10:58:03.735035075+08:00 mysql 02:58:03.73 INFO ==> ** Starting MySQL setup ** 2023-05-12T10:58:03.753816688+08:00 mysql 02:58:03.75 INFO ==> Validating settings in MYSQL_*/MARIADB_* env vars 2023-05-12T10:58:03.757247766+08:00 mysql 02:58:03.75 INFO ==> Initializing mysql database 2023-05-12T10:58:03.766490775+08:00 mysql 02:58:03.76 INFO ==> Updating 'my.cnf' with custom configuration 2023-05-12T10:58:03.770075773+08:00 mysql 02:58:03.76 INFO ==> Setting user option 2023-05-12T10:58:03.776487727+08:00 mysql 02:58:03.77 INFO ==> Setting slow_query_log option 2023-05-12T10:58:03.780573316+08:00 mysql 02:58:03.78 INFO ==> Setting long_query_time option 2023-05-12T10:58:03.784217165+08:00 rm: cannot remove '/bitnami/mysql/data/lost+found': Permission denied
https://github.com/quicklyon/zentao-docker#72-kubernetes%E9%80%9A%E8%BF%87helm%E5%91%BD%E4%BB%A4%E5%AE%89%E8%A3%85%E5%BC%80%E6%BA%90%E7%89%88%E7%A4%BA%E4%BE%8B
正常情况下,请问使用charts单独安装是否有问题?
helm install my-release oci://registry-1.docker.io/bitnamicharts/mysql