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 }}