0
Fork 0
mirror of https://github.com/penpot/penpot-helm.git synced 2024-12-22 13:43:01 -05:00
penpot-helm/scripts/cluster_create.sh

13 lines
473 B
Bash
Raw Normal View History

2024-06-11 06:46:03 -05:00
#!/usr/bin/bash
# Create a kind cluster
kind create cluster --name penpot-cluster --config devel/kind.config.yml
# Create a namespace for Penpot
kubectl apply -f devel/penpot-namespace.yml
kubectl config set-context penpot --namespace=penpot --cluster=kind-penpot-cluster --user=kind-penpot-cluster
kubectl config use-context penpot
# Setup ingress
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/kind/deploy.yaml