Now that both chrome and firefox understand *.localhost domains we can
remove our suggestion of using localtest.me subdomains.
Also update the brew install instructions now that brew cask install
is deprecated in favor of brew install --cask
My favorite improvement is finding a way to use yaml block labels and
references to reduce the duplication in the ingress config.
I suppose the last important thing to mention about this changes is
that k3d seems to have switched from traefik to nginx for its ingress
loadbalancer. We no longer need the traefik annotation.
We now map ~/.wiki-k8s in MacOS into the .wiki folder inside the
container and similarly with MacOS ~/workspace/fedwiki
First, when we create the k3d cluster, we include directives that are
passed through to docker to mount the MacOS directories into the
kubernetes host.
Second, we use hostPath volumes in the kubernetes deployment config.
These will work great for the primary use case of a local wiki.
Deployments to remote kubernetes clusters will want to do this with
the PersistentVolumeClaim that was removed with this change.
One luxury of using hostPath and the legacy_security is that we no
longer require an init container.