mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-10 07:16:57 +07:00
14 lines
492 B
Makefile
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 .
|