Example deployment of the kanidm server in k8s. I'm testing this on orbstack, using release builds.
- Clone the repository
- Check the configuration file (
server.toml
). It's a configuration map which we'll load into k8s. - Create a
.env
file to set environment variables for deployment - Deploy the configuration by running
deploy.sh
- Set the admin password:
kubectl exec -it \
pods/$(kubectl get pods -n kanidmd -o json | jq -r '.items[0].metadata.name') -- \
/sbin/kanidmd recover_account -c /data/server.toml -n admin