homelab/authelia/justfile
2025-11-22 22:20:32 -06:00

31 lines
981 B
Makefile

default: cred convert deploy viz
update: convert patch
create-ns:
kubectl create ns authelia
cred:
kubectl get secret -n default regcred --output=yaml -o yaml | sed 's/namespace: default/namespace: authelia/' | kubectl apply -n authelia -f - && echo deployed secret || echo secret exists
convert:
kompose convert -o deployment.yaml -n authelia
deploy:
kubectl apply -f deployment.yaml
delete:
kubectl delete all --all -n authelia --timeout=0s
viz:
k8sviz -n authelia --kubeconfig $KUBECONFIG -t png -o authelia-k8s.png
restart:
kubectl rollout restart -n authelia deployment/authelia
patch:
kubectl patch -f deployment.yaml
describe:
kubectl get deployment -n authelia
kubectl get rs -n authelia
kubectl get pod -n authelia
kubectl get svc -n authelia
kubectl get ing -n authelia
describe-pod:
kubectl describe pod -n authelia
logs:
kubectl logs --all-containers -l io.kompose.service=authelia-wayl-one -n authelia -f