mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/rabbitmq] Erlang cookie permissions (#7436)
* Update statefulset.yaml Problem: `bash: line 1: /opt/bitnami/rabbitmq/var/lib/rabbitmq/.erlang.cookie: Permission denied` after restart Solution: make files writable for user. Signed-off-by: Anton Fayzrahmanov <f84anton@gmail.com> * Update Chart.yaml Signed-off-by: Anton Fayzrahmanov <f84anton@gmail.com>
This commit is contained in:
committed by
k8s-ci-robot
parent
c720eeafa0
commit
7195c710da
@@ -1,5 +1,5 @@
|
||||
name: rabbitmq
|
||||
version: 2.1.2
|
||||
version: 2.1.3
|
||||
appVersion: 3.7.7
|
||||
description: Open source message broker software that implements the Advanced Message Queuing Protocol (AMQP)
|
||||
keywords:
|
||||
|
||||
@@ -60,8 +60,8 @@ spec:
|
||||
echo $RABBITMQ_ERL_COOKIE > /opt/bitnami/rabbitmq/var/lib/rabbitmq/.erlang.cookie
|
||||
cp /opt/bitnami/rabbitmq/var/lib/rabbitmq/.erlang.cookie /opt/bitnami/rabbitmq/.rabbitmq/
|
||||
#change permission so only the user has access to the cookie file
|
||||
chmod 400 /opt/bitnami/rabbitmq/.rabbitmq/.erlang.cookie
|
||||
chmod 400 /opt/bitnami/rabbitmq/var/lib/rabbitmq/.erlang.cookie
|
||||
chmod 600 /opt/bitnami/rabbitmq/.rabbitmq/.erlang.cookie
|
||||
chmod 600 /opt/bitnami/rabbitmq/var/lib/rabbitmq/.erlang.cookie
|
||||
|
||||
#copy the mounted configuration to both places
|
||||
cp /opt/bitnami/rabbitmq/conf/* /opt/bitnami/rabbitmq/etc/rabbitmq
|
||||
|
||||
Reference in New Issue
Block a user