From 9d83a6768d79ef3e53ad93e058ef431b194ef0f9 Mon Sep 17 00:00:00 2001 From: Eric Dobbs Date: Sun, 19 Jan 2020 15:13:24 -0700 Subject: [PATCH] Ensure localhost is included in k8s cluster TLS cert See explanation here: https://github.com/rancher/k3d/issues/143\#issuecomment-552634281 --server-arg passes the --tls-san=... argument through to k3s server. Docs for that arg are here: https://rancher.com/docs/k3s/latest/en/installation/install-options/ --- examples/k8s/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/k8s/README.md b/examples/k8s/README.md index 6094126..4af0319 100644 --- a/examples/k8s/README.md +++ b/examples/k8s/README.md @@ -10,6 +10,7 @@ using wiki to drive some learning about kubernetes. mkdir -p ~/.wiki-k8s ~/workspace/fedwiki k3d create \ + --server-arg --tls-san="127.0.0.1" \ --publish 80:80 \ -v "$HOME/.wiki-k8s:/macos/.wiki-k8s" \ -v "$HOME/workspace/fedwiki:/macos/fedwiki" \