Skip to content

Commit

Permalink
Update redis config env
Browse files Browse the repository at this point in the history
  • Loading branch information
Natoandro committed Aug 2, 2024
1 parent b59d151 commit b4ba2b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/typegate/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ spec:
{{- toYaml . | nindent 12 }}
{{- end }}
env:
- name: SYNC_REDIS_URL
value: redis://{{ printf "%s-master" (include "common.names.fullname" .Subcharts.redis) }}:{{ .Subcharts.redis.Values.master.service.ports.redis }}/0
- name: SYNC_REDIS_PASSWORD
valueFrom:
secretKeyRef:
name: {{ template "redis.secretName" .Subcharts.redis }}
key: {{ template "redis.secretPasswordKey" .Subcharts.redis }}
- name: SYNC_REDIS_URL
value: redis://:$(SYNC_REDIS_PASSWORD)@{{ printf "%s-master" (include "common.names.fullname" .Subcharts.redis) }}:{{ .Subcharts.redis.Values.master.service.ports.redis }}/0
- name: TG_SECRET
valueFrom:
secretKeyRef:
Expand Down

0 comments on commit b4ba2b1

Please sign in to comment.