Skip to content

Commit 4f4f1c4

Browse files
committed
feat(helm): add redis and celery config on helm values
1 parent 60930f2 commit 4f4f1c4

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

helm/values.yaml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ app:
1212
nginx.ingress.kubernetes.io/proxy-body-size: "50m"
1313

1414
redis:
15-
enabled: false
16-
architecture:
17-
fullnameOverride:
15+
enabled: true
16+
architecture: standalone
17+
fullnameOverride: rc-select-redis
1818
auth:
1919
enabled: false
2020
master:
@@ -23,6 +23,16 @@ app:
2323
size: .5Gi
2424
storageClass:
2525

26+
celery:
27+
enabled: true
28+
resources:
29+
requests:
30+
cpu: "0.5"
31+
memory: 0.4Gi
32+
limits:
33+
cpu: "2"
34+
memory: 2Gi
35+
2636
postgresql:
2737
enabled: true
2838
fullnameOverride: "rc-select-postgresql"
@@ -138,3 +148,6 @@ app:
138148
AWS_S3_REGION_NAME: "us-east-1"
139149
AWS_S3_MEDIA_BUCKET_NAME: "rc-select-media"
140150
AWS_S3_STATIC_BUCKET_NAME: "rc-select-static"
151+
# Redis
152+
CELERY_REDIS_URL: "redis://{{ printf \"%s-master\" (include \"common.names.fullname\" $.Subcharts.redis) }}:6379/0"
153+
CACHE_REDIS_URL: "redis://{{ printf \"%s-master\" (include \"common.names.fullname\" $.Subcharts.redis) }}:6379/1"

0 commit comments

Comments
 (0)