diff --git a/justfile b/justfile index a7d5188..96e7d6e 100644 --- a/justfile +++ b/justfile @@ -1,10 +1,30 @@ default: @just --choose -start-kind: +setup: kind-create sealed-secrets-install argo-install + +teardown: kind-delete + +kind-create: kind create cluster --name learn-helm --config kind-config.yaml -install-argo: +kind-delete: + kind delete cluster --name learn-helm + +sealed-secrets-install: + kubectl apply -f https://github.com/bitnami-labs/sealed-secrets/releases/download/v0.19.4/controller.yaml + +argo-install: kubectl create namespace argocd kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml kubectl get pods -n argocd + +argo-forward: + kubectl port-forward svc/argocd-server -n argocd 8080:443 + +argo-password: + kubectl -n argocd get secret argocd-initial-admin-secret \ + -o jsonpath="{.data.password}" | base64 -d; echo + +datasette-forward: + kubectl port-forward svc/datasette -n default 8001:80