Skip to content

Commit

Permalink
fix: remove no longer needed safeguard for enable_auth_state
Browse files Browse the repository at this point in the history
Since we generate a key to encrypt/decrypt if needed, we don't need to
protect against trying to use enable_auth_state that requires such key
without explicitly specifying one.
  • Loading branch information
consideRatio committed May 18, 2021
1 parent 0abb0bc commit 9ead768
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions jupyterhub/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,6 @@ directly instead.
{{ "HARD DEPRECATION: proxy.pdb has renamed to proxy.chp.pdb" | fail }}
{{- end }}

{{- if include "jupyterhub.digToTrue" (list "hub.config.Authenticator.enable_auth_state" .Values) }}
{{- if not (include "jupyterhub.digToTrue" (list "hub.config.CryptKeeper.keys" .Values)) }}
{{ "Using Authenticator.enable_auth_state, you also need to CryptKeeper.keys to a list with at least one key in it." | fail }}
{{- end }}
{{- end }}

{{- if .Values.auth }}
{{ include "jupyterhub.authDep.remapOldToNew" . | fail }}
{{- end }}

0 comments on commit 9ead768

Please sign in to comment.