From 5fbc041e57abf03e101010f7b93923327deddb90 Mon Sep 17 00:00:00 2001 From: Thumbscrew Date: Mon, 10 Mar 2025 19:54:59 +0000 Subject: [PATCH] fix greater than comparison --- charts/freshrss/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/freshrss/templates/deployment.yaml b/charts/freshrss/templates/deployment.yaml index 84e3b37..3936c17 100644 --- a/charts/freshrss/templates/deployment.yaml +++ b/charts/freshrss/templates/deployment.yaml @@ -114,7 +114,7 @@ spec: {{- end }} - name: OIDC_SESSION_INACTIVITY_TIMEOUT value: {{ .session.inactivityTimeout }} - {{- if .session.maxDuration > -1 }} + {{- if ge .session.maxDuration 0 }} - name: OIDC_SESSION_MAX_DURATION value: {{ printf "%d" (add .session.maxDuration) }} {{- end }}