xucq07 commented on code in PR #121: URL: https://github.com/apache/rocketmq-docker/pull/121#discussion_r2122571299
########## rocketmq-k8s-helm/templates/broker/statefulset.yaml: ########## @@ -78,13 +78,15 @@ spec: - mountPath: /home/rocketmq/logs name: broker-storage subPath: home/rocketmq/rocketmq-broker - - mountPath: /root/store + - mountPath: /home/rocketmq/store name: broker-storage subPath: store/rocketmq-broker {{- with .Values.broker.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} {{- end }} + securityContext: + fsGroup: 3000 Review Comment: It is defined in the official DockerFile. If this configuration item is not added, the user and group of the mounted directory are both root, and rocketmq cannot write to this directory. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@rocketmq.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org