2021-04-25 12:30:33 +07:00
|
|
|
.POSIX:
|
|
|
|
|
2021-05-21 18:11:33 +07:00
|
|
|
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
|
2021-04-25 12:30:33 +07:00
|
|
|
|
|
|
|
apply:
|
2021-05-01 23:12:43 +07:00
|
|
|
kubectl --kubeconfig ../infra/kube_config.yaml --namespace argocd apply --filename .
|
2021-04-25 12:30:33 +07:00
|
|
|
|
|
|
|
delete:
|
2021-05-01 23:12:43 +07:00
|
|
|
kubectl --kubeconfig ../infra/kube_config.yaml --namespace argocd delete --filename .
|