Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
[stable/rabbitmq] fix Error: enoent with forceBoot on new install (see
Browse files Browse the repository at this point in the history
…helm#13485) (helm#14491)

* [stable/rabbitmq] fix Error: enoent with forceBoot on new install (see helm#13485)

Signed-off-by: Denis Kalgushkin <[email protected]>

* [stable/rabbitmq] Bump chart version for PR 14491 (see helm#13485)

Signed-off-by: Denis Kalgushkin <[email protected]>
Signed-off-by: Andrii Nasinnyk <[email protected]>
  • Loading branch information
denis111 authored and anasinnyk committed Jun 29, 2019
1 parent 4cdf528 commit 4004428
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion stable/rabbitmq/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: rabbitmq
version: 5.9.1
version: 5.9.2
appVersion: 3.7.15
description: Open source message broker software that implements the Advanced Message Queuing Protocol (AMQP)
keywords:
Expand Down
2 changes: 1 addition & 1 deletion stable/rabbitmq/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ The following table lists the configurable parameters of the RabbitMQ chart and
| `volumePermissions.image.tag` | Init container volume-permissions image tag | `latest` |
| `volumePermissions.image.pullPolicy` | Init container volume-permissions image pull policy | `IfNotPresent` |
| `volumePermissions.resources` | Init container resource requests/limit | `nil` |
| `forceBoot.enabled` | Executes 'rabbitmqctl force_boot' to force boot cluster shut down unexpectedly in an unknown order. Use it only if you prefer availability over integrity.) | `false` |
| `forceBoot.enabled` | Executes 'rabbitmqctl force_boot' to force boot cluster shut down unexpectedly in an unknown order. Use it only if you prefer availability over integrity. | `false` |

The above parameters map to the env variables defined in [bitnami/rabbitmq](http://github.com/bitnami/bitnami-docker-rabbitmq). For more information please refer to the [bitnami/rabbitmq](http://github.com/bitnami/bitnami-docker-rabbitmq) image documentation.

Expand Down
2 changes: 1 addition & 1 deletion stable/rabbitmq/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ spec:
EOF
chmod a+x /opt/bitnami/rabbitmq/sbin/rabbitmq-api-check
{{- if and .Values.persistence.enabled .Values.forceBoot.enabled }}
rabbitmqctl force_boot
if [ -d "{{ .Values.persistence.path }}/mnesia/${RABBITMQ_NODENAME}" ]; then rabbitmqctl force_boot; fi
{{- end }}
exec rabbitmq-server
{{- if .Values.resources }}
Expand Down

0 comments on commit 4004428

Please sign in to comment.