Skip to content

Instantly share code, notes, and snippets.

@dims
Last active October 30, 2024 19:00
Show Gist options
  • Save dims/28f82eb9b9d2394c6aa49e5ac7788721 to your computer and use it in GitHub Desktop.
Save dims/28f82eb9b9d2394c6aa49e5ac7788721 to your computer and use it in GitHub Desktop.

Install cedar CLI binary

brew install rustup
rustup update
cargo install cedar-policy-cli

Install kind

go install sigs.k8s.io/[email protected]

Create a kind cluster using docker

CONTAINER_TOOL=docker FINCH_FEATURE= make kind

Create sample and test users

CONTAINER_TOOL=docker FINCH_FEATURE= make sample-user-kubeconfig test-user-kubeconfig

Install crds and deploy webhook

make cert-manager admission-webhook install deploy 

Play with the cluster

Cleanup

CONTAINER_TOOL=docker FINCH_FEATURE= make clean-kind
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment