more justfile

This commit is contained in:
Waylon S. Walker 2024-09-24 20:58:49 -05:00
parent fddad41456
commit 3478956854

View file

@ -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