From 79a5d510a8b09bc0aaca31c20194c0ba3a36164f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roch=C3=A9=20Compaan?= Date: Wed, 3 Jan 2024 13:11:57 +0200 Subject: [PATCH] feat: initialize cluster with kind --- scaf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scaf b/scaf index 76ab275e..ac009cbf 100755 --- a/scaf +++ b/scaf @@ -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