mijnbureau-laptop

Here’s a realistic assessment and step-by-step guide tailored to your situation.

Important Reality Check

The repository mijn-bureau-deploy-demo is not a simple Docker Compose demo. It is a Helmfile-based deployment designed for Kubernetes.

Running this directly on WSL + Ubuntu without Kubernetes is not straightforward and will likely fail or be very complex.

Here are your realistic paths, ordered from easiest to more advanced:

Go back to the main project:

cd ~
git clone https://github.com/MinBZK/mijn-bureau-infra.git
cd mijn-bureau-infra

Then check the Getting Started documentation carefully: → https://minbzk.github.io/mijn-bureau-infra/docs/category/getting-started

Many government “deploy-demo” repos point back to the main infra repo for the actual streamlined/one-command setup. Look specifically for any local / development / Docker-based deployment options.

Option 2: Try the Deploy-Demo Repo Anyway (with Kind on WSL)

If you still want to try the demo repo with Kubernetes on WSL2:

  1. Install prerequisites in Ubuntu (WSL)
sudo apt update && sudo apt upgrade -y

# Install Docker (you probably already have this)
# ... (use the Docker install commands from previous response if needed)

# Install kubectl
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl

# Install Helm
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash

# Install Helmfile
sudo snap install helmfile --classic
# or: wget https://github.com/helmfile/helmfile/releases/latest/download/helmfile_linux_amd64.tar.gz && tar -xzf ... etc.

# Install SOPS (for secrets)
sudo apt install -y sops

# Install kind (lightweight Kubernetes for local testing)
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.24.0/kind-linux-amd64
chmod +x ./kind
sudo mv ./kind /usr/local/bin/
  1. Create a local Kubernetes cluster with Kind
kind create cluster --name mijnbureau-demo --config - <<EOF
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
  extraPortMappings:
  - containerPort: 80
    hostPort: 8080
  - containerPort: 443
    hostPort: 8443
EOF
  1. Clone and prepare the demo repo
git clone https://github.com/MinBZK/mijn-bureau-deploy-demo.git
cd mijn-bureau-deploy-demo
  1. Look at the files
ls -la
cat README.md
ls helmfile/          # check if there are values or environments
  1. Try to render / apply the helmfile (this is where it often gets tricky)
helmfile template     # first try to render without applying
# or
helmfile sync         # this deploys everything

You will very likely need to:

 helmfile sync -f helmfile.yaml.gotmpl --values local-values.yaml