Skip to content

Commit 8df0523

Browse files
xuriwuyunapecloud-bot
authored andcommitted
fix: rabbitmq cluster init failed (#2318)
(cherry picked from commit ecb41b2)
1 parent ded4e02 commit 8df0523

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/rabbitmq/templates/componentdefinition.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ spec:
5656
if [ ! -f {{ .Values.dataMountPath }}/enabled_plugins ]; then
5757
cp /etc/rabbitmq/enabled_plugins {{ .Values.dataMountPath }}/enabled_plugins
5858
fi
59-
cp /root/erlang.cookie {{ .Values.dataMountPath }}/erlang.cookie
59+
cp /root/erlang.cookie {{ .Values.dataMountPath }}/.erlang.cookie
6060
chown rabbitmq:rabbitmq {{ .Values.dataMountPath }}/.erlang.cookie
6161
chmod 400 {{ .Values.dataMountPath }}/.erlang.cookie
6262
exec /opt/rabbitmq/sbin/rabbitmq-server

0 commit comments

Comments
 (0)