Skip to content

Commit

Permalink
fix: rabbitmq to support new bitnami chart (#320)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mokto authored Mar 16, 2021
1 parent 17455b2 commit 2936e90
Showing 1 changed file with 53 additions and 20 deletions.
73 changes: 53 additions & 20 deletions sentry/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -515,35 +515,68 @@ externalPostgresql:
rabbitmq:
## If disabled, Redis will be used instead as the broker.
enabled: true
forceBoot: true
clustering:
forceBoot: true
rebalance: true
replicaCount: 3
auth:
erlangCookie: pHgpy3Q6adTskzAT6bLHCFqFTF7lMxhA
username: guest
password: guest
nameOverride: ""

podDisruptionBudget:
minAvailable: 1

persistentVolume:
pdb:
create: true
persistence:
enabled: true
resources: {}
# rabbitmqMemoryHighWatermark: 600MB
# rabbitmqMemoryHighWatermarkType: absolute

definitions:
policies: |-
{
"name": "ha-all",
"pattern": "^((?!celeryev.*).)*$",
"vhost": "/",
"definition": {
"ha-mode": "all",
"ha-sync-mode": "automatic",
"ha-sync-batch-size": 1
}
}
memoryHighWatermark: {}
# enabled: true
# type: relative
# value: 0.4

extraSecrets:
load-definition:
load_definition.json: |
{
"users": [
{
"name": "{{ .Values.auth.username }}",
"password": "{{ .Values.auth.password }}",
"tags": "administrator"
}
],
"permissions": [{
"user": "{{ .Values.auth.username }}",
"vhost": "/",
"configure": ".*",
"write": ".*",
"read": ".*"
}],
"policies": [
{
"name": "ha-all",
"pattern": ".*",
"vhost": "/",
"definition": {
"ha-mode": "all",
"ha-sync-mode": "automatic",
"ha-sync-batch-size": 1
}
}
],
"vhosts": [
{
"name": "/"
}
]
}
loadDefinition:
enabled: true
existingSecret: load-definition
extraConfiguration: |
load_definitions = /app/load_definition.json
## Prometheus Exporter / Metrics
##
Expand Down

0 comments on commit 2936e90

Please sign in to comment.