Skip to content

Commit

Permalink
Add shib session values
Browse files Browse the repository at this point in the history
  • Loading branch information
xcompass committed Mar 19, 2024
1 parent daf16dc commit d62de93
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
12 changes: 12 additions & 0 deletions jupyterhub/templates/shib/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions jupyterhub/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -691,6 +691,9 @@ shib:
requests:
memory: 64Mi
cpu: 50m
sessionLifetime: 14400
sessionTimeout: 7200
cacheTimeout: 7200
shibd:
image:
name: lthub/shibd
Expand All @@ -703,6 +706,7 @@ shib:
memory: 64Mi
cpu: 50m
tolerations: []

ingress:
enabled: false
host: example.com
Expand Down

0 comments on commit d62de93

Please sign in to comment.