File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 # NOTE: Check main/settings.py for all available options
1010 secrets :
1111 # - Celery
12- # CELERY_BROKER_URL: Defined using extraEnvVars
12+ # CELERY_RABBITMQ_CONNECTION_STRING: Defined using extraEnvVars
13+ # CELERY_RABBITMQ_VHOST: Defined using extraEnvVars
1314 CELERY_RESULT_BACKEND : " redis://alert-hub-dragonfly:6379/0"
1415 # - Cache
1516 CACHE_REDIS_URL : " redis://alert-hub-dragonfly:6379/1"
16- # Healthcheck
17- # HEALTHCHECK_RABBITMQ_URL: Defined using extraEnvVars
18- HEALTHCHECK_REDIS_URL : " redis://alert-hub-dragonfly:6379/1"
1917
2018 extraEnvVars :
2119 # Checkout the resources defined by extraManifests
22- - name : CELERY_BROKER_URL
23- valueFrom :
24- secretKeyRef :
25- name : alert-hub-rabbitmq-default-user
26- key : connection_string
27- - name : HEALTHCHECK_RABBITMQ_URL
20+ - name : CELERY_RABBITMQ_CONNECTION_STRING
2821 valueFrom :
2922 secretKeyRef :
3023 name : alert-hub-rabbitmq-default-user
3124 key : connection_string
25+ - name : CELERY_RABBITMQ_VHOST
26+ value : celery
3227
3328 extraManifests :
3429 dragonflydb-cluster :
5146 snapshot :
5247 cron : " */5 * * * *"
5348 persistentVolumeClaimSpec :
49+ # storageClassName:
5450 accessModes :
5551 - ReadWriteOnce
5652 resources :
5753 requests :
5854 storage : 1Gi
55+ # RabbitMQ
5956 rabbitmq-cluster :
6057 apiVersion : rabbitmq.com/v1beta1
6158 kind : RabbitmqCluster
6562 replicas : 1 # Scaling down is not supported
6663 resources :
6764 requests :
68- cpu : " 0.1 "
65+ cpu : " 100m "
6966 memory : " 2Gi"
7067 limits :
7168 cpu : " 4"
7269 memory : " 2Gi"
70+ rabbitmq :
71+ additionalConfig : |
72+ default_vhost = celery
73+ default_user = alerthub
7374 persistence :
74- storage : " 500Mi"
75+ # storageClassName:
76+ storage : " 2Gi"
Original file line number Diff line number Diff line change @@ -178,10 +178,8 @@ app:
178178 HCAPTCHA_SITEKEY : " {{ required \" .app.secrets.HCAPTCHA_SITEKEY\" nil }}"
179179 HCAPTCHA_SECRET : " {{ required \" .app.secrets.HCAPTCHA_SECRET\" nil }}"
180180 # - Celery
181- # CELERY_BROKER_URL:
181+ # CELERY_RABBITMQ_CONNECTION_STRING:
182+ # CELERY_RABBITMQ_VHOST:
182183 # CELERY_RESULT_BACKEND: "redis://{{ printf \"%s-master\" (include \"common.names.fullname\" $.Subcharts.redis) }}:6379/0"
183184 # - Cache
184185 # CACHE_REDIS_URL: "redis://{{ printf \"%s-master\" (include \"common.names.fullname\" $.Subcharts.redis) }}:6379/1"
185- # Healthcheck
186- # HEALTHCHECK_RABBITMQ_URL:
187- # HEALTHCHECK_REDIS_URL: "redis://{{ printf \"%s-master\" (include \"common.names.fullname\" $.Subcharts.redis) }}:6379/1"
You can’t perform that action at this time.
0 commit comments