We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 59bae65 + 22774d3 commit 3c3b507Copy full SHA for 3c3b507
Makefile
@@ -25,8 +25,15 @@ userlist:
25
@echo " wash"
26
@exit 1
27
28
-check-files: secrets/jupyterhub.crt secrets/jupyterhub.key userlist
29
- # fail in an informative way if files don't exist
+# Do not require cert/key files if SECRETS_VOLUME defined
+secrets_volume = $(shell echo $(SECRETS_VOLUME))
30
+ifeq ($(secrets_volume),)
31
+ cert_files=secrets/jupyterhub.crt secrets/jupyterhub.key
32
+else
33
+ cert_files=
34
+endif
35
+
36
+check-files: userlist $(cert_files)
37
38
pull:
39
docker pull $(DOCKER_NOTEBOOK_IMAGE)
0 commit comments