khuedoan-homelab/apps/Makefile
2021-05-21 18:11:33 +07:00

14 lines
492 B
Makefile

.POSIX:
default: init apply
init:
kubectl create namespace argocd --dry-run=client -o yaml | kubectl --kubeconfig ../infra/kube_config.yaml apply -f -
kubectl --kubeconfig ../infra/kube_config.yaml apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
apply:
kubectl --kubeconfig ../infra/kube_config.yaml --namespace argocd apply --filename .
delete:
kubectl --kubeconfig ../infra/kube_config.yaml --namespace argocd delete --filename .