Skip to content

Commit

Permalink
fixes rmb chart to use the correct redis (#173)
Browse files Browse the repository at this point in the history
Signed-off-by: Ashraf Fouda <[email protected]>
  • Loading branch information
ashraffouda authored Oct 26, 2023
1 parent 20cfb0d commit 3a21664
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion charts/rmb-relay/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
command: ["/usr/sbin/rmb-relay","--domain", "{{.Values.config.RMB_DOMAIN}}", "-r", "redis://redis:6379", "-s", "{{.Values.config.SUBSTRATE_URL}}", "-u", "{{.Values.config.USER_PER_WORKER}}", "-w", "{{.Values.config.WORKERS}}", "-l", "0.0.0.0:80" ]
command: ["/usr/sbin/rmb-relay","--domain", "{{.Values.config.RMB_DOMAIN}}", "-r", "redis://:{{.Values.global.redis.password}}@{{ .Release.Name }}-redis-master:6379", "-s", "{{.Values.config.SUBSTRATE_URL}}", "-u", "{{.Values.config.USER_PER_WORKER
}}", "-w", "{{.Values.config.WORKERS}}", "-l", "0.0.0.0:80" ]
ports:
- name: http
containerPort: 80
Expand Down
2 changes: 2 additions & 0 deletions charts/rmb-relay/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ service:
port: 80

global:
redis:
password: redis-password
ingress:
certresolver: le
storageClass: rook-cephfs
Expand Down

0 comments on commit 3a21664

Please sign in to comment.