This is an automated email from the ASF dual-hosted git repository.
jinrongtong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-docker.git
The following commit(s) were added to refs/heads/master by this push:
new 8792ec2 [ISSUE #119] Fix the brocker-server storage volume mount path
error issue
8792ec2 is described below
commit 8792ec254364fe04b65a9938d764ce1817e822c7
Author: xucq07 <[email protected]>
AuthorDate: Tue Jun 10 17:58:52 2025 +0800
[ISSUE #119] Fix the brocker-server storage volume mount path error issue
---
rocketmq-k8s-helm/templates/broker/statefulset.yaml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/rocketmq-k8s-helm/templates/broker/statefulset.yaml
b/rocketmq-k8s-helm/templates/broker/statefulset.yaml
index ecf18a1..1dc6f7d 100644
--- a/rocketmq-k8s-helm/templates/broker/statefulset.yaml
+++ b/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
volumes:
- name: broker-config
configMap:
@@ -101,4 +103,4 @@ spec:
resources:
requests:
storage: {{ .Values.broker.persistence.size }}
- {{- end }}
\ No newline at end of file
+ {{- end }}