From b64c79a05e039f0223d17430e6c007fcd9e314d7 Mon Sep 17 00:00:00 2001 From: Nathan Lloyd <83719742+supernatent@users.noreply.github.com> Date: Fri, 16 Feb 2024 11:02:58 -0800 Subject: [PATCH 1/2] Add startup-delay hack under https instructions in security.md Referencing https://github.com/jupyterhub/zero-to-jupyterhub-k8s/issues/2601, on some providers autohttps could be setting up certs with letsencrypt before proxy-public startup has completed, leading to failing challenge-response. --- docs/source/administrator/security.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/source/administrator/security.md b/docs/source/administrator/security.md index 9b34b041e7..9ff27938a6 100644 --- a/docs/source/administrator/security.md +++ b/docs/source/administrator/security.md @@ -52,6 +52,11 @@ changes to your `config.yaml` file: - letsencrypt: contactEmail: + traefik: + extraInitContainers: + - name: startup-delay + image: busybox:stable + command: [ "sh", "-c", "sleep 20" ] ``` 2. Apply the config changes by running `helm upgrade ...` From 4bc1d0e60483624ebbb68c9b3ccd7e9b4d2ac7d9 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 16 Feb 2024 19:06:11 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- docs/source/administrator/security.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/administrator/security.md b/docs/source/administrator/security.md index 9ff27938a6..e965e0d620 100644 --- a/docs/source/administrator/security.md +++ b/docs/source/administrator/security.md @@ -56,7 +56,7 @@ changes to your `config.yaml` file: extraInitContainers: - name: startup-delay image: busybox:stable - command: [ "sh", "-c", "sleep 20" ] + command: ["sh", "-c", "sleep 20"] ``` 2. Apply the config changes by running `helm upgrade ...`