diff --git a/jupyterhub/templates/shib/deployment.yml b/jupyterhub/templates/shib/deployment.yml index e4787fa252..c367ae0ef9 100644 --- a/jupyterhub/templates/shib/deployment.yml +++ b/jupyterhub/templates/shib/deployment.yml @@ -76,6 +76,12 @@ spec: value: "{{ .Values.shib.logLevel }}" - name: SHIBD_CONSISTENT_ADDRESS value: "false" + - name: SHIBBOLETH_SESSION_LIFETIME + value: "{{ .Values.shib.web.sessionLifetime }}" + - name: SHIBBOLETH_SESSION_TIMEOUT + value: "{{ .Values.shib.web.sessionTimeout }}" + - name: SHIBBOLETH_CACHE_TIMEOUT + value: "{{ .Values.shib.web.cacheTimeout }}" {{- with .Values.shib.web.resources }} resources: {{- . | toYaml | nindent 10 }} @@ -172,6 +178,12 @@ spec: value: "{{ .Values.shib.logLevel }}" - name: SHIBD_CONSISTENT_ADDRESS value: "false" + - name: SHIBBOLETH_SESSION_LIFETIME + value: "{{ .Values.shib.web.sessionLifetime }}" + - name: SHIBBOLETH_SESSION_TIMEOUT + value: "{{ .Values.shib.web.sessionTimeout }}" + - name: SHIBBOLETH_CACHE_TIMEOUT + value: "{{ .Values.shib.web.cacheTimeout }}" livenessProbe: tcpSocket: port: 1600 diff --git a/jupyterhub/values.yaml b/jupyterhub/values.yaml index 961a5180db..a565c49743 100644 --- a/jupyterhub/values.yaml +++ b/jupyterhub/values.yaml @@ -691,6 +691,9 @@ shib: requests: memory: 64Mi cpu: 50m + sessionLifetime: 14400 + sessionTimeout: 7200 + cacheTimeout: 7200 shibd: image: name: lthub/shibd @@ -703,6 +706,7 @@ shib: memory: 64Mi cpu: 50m tolerations: [] + ingress: enabled: false host: example.com