Skip to content

Commit

Permalink
Fix env variables for redis and timeout
Browse files Browse the repository at this point in the history
- duplicated entry for db settings
- wrong value check for timeout
  • Loading branch information
kairoaraujo authored Oct 12, 2024
1 parent e02e0e0 commit 92bc573
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions charts/rstuf-worker/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,7 @@ spec:
- name: RSTUF_REDIS_SERVER_DB_REPO_SETTINGS
value: {{ .Values.backend.redisDbSettings | quote }}
{{- end }}
{{- if .Values.backend.redisDbSettings }}
- name: RSTUF_REDIS_SERVER_DB_REPO_SETTINGS
value: {{ .Values.backend.redisDbSettings | quote }}
{{- end }}
{{- if .Values.backend.redisPort }}
{{- if .Values.backend.lockTimeOut }}
- name: RSTUF_LOCK_TIMEOUT
value: {{ .Values.backend.lockTimeOut | quote }}
{{- end }}
Expand Down

0 comments on commit 92bc573

Please sign in to comment.