scaffold: kind+Tilt cluster, api/ui/docs stubs, green at nvi.local.ar
This commit is contained in:
14
ctrl/kind-config.sh
Executable file
14
ctrl/kind-config.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
mkdir -p ../.data/postgres
|
||||
|
||||
if kind get clusters 2>/dev/null | grep -qx nvi; then
|
||||
echo "kind cluster 'nvi' already exists"
|
||||
else
|
||||
echo "creating kind cluster 'nvi'..."
|
||||
kind create cluster --config k8s/kind-config.yaml
|
||||
fi
|
||||
|
||||
kubectl config use-context kind-nvi
|
||||
Reference in New Issue
Block a user