fix greater than comparison

This commit is contained in:
James 2025-03-10 19:54:59 +00:00
parent a89436fede
commit 5fbc041e57
Signed by: thumbscrw
GPG Key ID: 4A3BB8AF7D9C2B46

View File

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