adding more flavors and nuo recipes
This commit is contained in:
13
recipes/nuo/provisionning/conf/kind/initkind.start
Normal file
13
recipes/nuo/provisionning/conf/kind/initkind.start
Normal file
@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
CLUSTER_NAME="nuo"
|
||||
|
||||
if [ $(kind get clusters -q | grep "${CLUSTER_NAME}") ];then
|
||||
podman start -f name="^${CLUSTER_NAME}"
|
||||
else
|
||||
kind create cluster --config /etc/cluster.yaml | tee -a /var/log/kind-init.log
|
||||
fi
|
||||
|
||||
if [ ! $(which kubectl) ];then
|
||||
apk add kubectl --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community
|
||||
fi
|
Reference in New Issue
Block a user