Skip to content

Commit

Permalink
fix: update the mount point for configmap to fix the read-only in conf
Browse files Browse the repository at this point in the history
Signed-off-by: wangxye <[email protected]>
  • Loading branch information
wangxye authored and wangxye committed Oct 22, 2023
1 parent 31d0b34 commit 5480cc1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions rocketmq-k8s-helm/templates/broker/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
imagePullPolicy: {{ $.Values.broker.image.pullPolicy }}
{{- end }}
command: [ "/bin/sh" ]
args: [ "-c", "./run-server.sh com.automq.rocketmq.broker.BrokerStartup -c /home/rocketmq/rocketmq-on-s3-5.1.3/conf/$(CLUSTER_NAME)-$(POD_NAME)" ]
args: [ "-c", "./run-server.sh com.automq.rocketmq.broker.BrokerStartup -c /home/rocketmq/rocketmq-on-s3-5.1.3/conf/broker/$(CLUSTER_NAME)-$(POD_NAME)" ]
env:
- name: POD_NAME
valueFrom:
Expand Down Expand Up @@ -81,7 +81,7 @@ spec:
resources:
{{- toYaml .Values.broker.resources | nindent 12 }}
volumeMounts:
- mountPath: /home/rocketmq/rocketmq-on-s3-5.1.3/conf
- mountPath: /home/rocketmq/rocketmq-on-s3-5.1.3/conf/broker
name: broker-config
- mountPath: /root/logs/rocketmqlogs
name: broker-storage
Expand Down
2 changes: 1 addition & 1 deletion rocketmq-k8s-helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ broker:
replicaCount: 1
image:
pullPolicy: IfNotPresent
repository: "automqinc/rocketmq"
repository: "automqinc/rocketmq_e2e"
tag: "5.1.3-alpine"

partition: 0
Expand Down

0 comments on commit 5480cc1

Please sign in to comment.