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