0
Fork 0
mirror of https://github.com/penpot/penpot-helm.git synced 2024-12-22 05:32:59 -05:00
penpot-helm/scripts/cluster_create.sh
David Barragán Merino bc96a6b4de 👶 initial code
2024-07-04 16:59:22 +02:00

12 lines
473 B
Bash
Executable file

#!/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