mirror of
https://github.com/penpot/penpot-helm.git
synced 2024-12-22 05:32:59 -05:00
13 lines
473 B
Bash
13 lines
473 B
Bash
|
#!/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
|