Skip to content

Commit

Permalink
feat: initialize cluster with kind
Browse files Browse the repository at this point in the history
  • Loading branch information
rochecompaan committed Jan 3, 2024
1 parent ff593ea commit 79a5d51
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scaf
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
#!/bin/bash

PROJECT_SLUG=${1:-myproject}

docker run --rm -it -v .:/home/scaf/out \
-e HOST_UID="$(id -u)" \
-e HOST_GID="$(id -g)" \
scaf:latest \
cookiecutter ${1:-https://github.com/sixfeetup/cookiecutter-sixiedjango/}
cookiecutter ${2:-https://github.com/sixfeetup/cookiecutter-sixiedjango/} \
project_slug=$PROJECT_SLUG

kind create cluster --name $PROJECT_SLUG

0 comments on commit 79a5d51

Please # to comment.