Skip to content

Commit

Permalink
Fix #10
Browse files Browse the repository at this point in the history
  • Loading branch information
NishaSharma14 committed Jun 13, 2022
1 parent 4c5ff33 commit 456f412
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 35 deletions.
2 changes: 1 addition & 1 deletion charts/nmrxiv-app/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.7
version: 0.2.8

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
10 changes: 5 additions & 5 deletions charts/nmrxiv-app/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ data:

#Redis Properties
{{ if .Values.redis.enabled }}
SESSION_DRIVER: "redis"
CACHE_DRIVER: "redis"
REDIS_CLIENT: "predis"
SESSION_LIFETIME: "120"
MEMCACHED_HOST: "memcached"
SESSION_DRIVER: {{ .Values.redis.sessionDriver }}
CACHE_DRIVER: {{ .Values.redis.cacheDriver }}
REDIS_CLIENT: {{ .Values.redis.redisClient }}
SESSION_LIFETIME: {{ .Values.redis.sessionLifetime }}
MEMCACHED_HOST: {{ .Values.redis.memcachedHost }}
REDIS_HOST: {{ printf "%s-redis-master" .Release.Name | quote }}
REDIS_PORT: {{ .Values.redis.port | default 6379 | quote }}
{{ end }}
Expand Down
43 changes: 14 additions & 29 deletions charts/nmrxiv-app/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,45 +178,30 @@ nmrium:
port: 80
nmriumURL: //nmriumdev.nmrxiv.org

# redis:
# auth:
# enabled: true
# password: password
# enabled: false
# global:
# storageClass: standard
# master:
# persistence:
# enabled: true
# size: 1Gi
# replica:
# persistence:
# enabled: true
# size: 1Gi
# replica:
# replicaCount: 1
# port: 6379

redis:
auth:
enabled: true
password: password
enabled: false
global:
storageClass: standard
#host: nmrxiv-redis-master
master:
persistence:
enabled: true
size: 1Gi
replica:
persistence:
enabled: true
size: 1Gi
replica:
replicaCount: 1
persistence:
enabled: false
size: 1Gi
port: 6379
resources:
limits:
cpu: 50m
memory: 30Mi
requests:
cpu: 10m
memory: 30Mi
sessionDriver: redis
cacheDriver: redis
redisClient: predis
sessionLifetime: 120
memcachedHost: memcached

rabbitmq:
enabled: false
Expand Down

0 comments on commit 456f412

Please sign in to comment.