khuedoan-homelab/bootstrap/Makefile

16 lines
287 B
Makefile

.POSIX:
.EXPORT_ALL_VARIABLES:
KUBECONFIG = ../metal/kubeconfig.yaml
default: argocd root-app
.PHONY: argocd
argocd:
kustomize build ./argocd | kubectl apply -f -
# TODO wait for argocd
.PHONY: root-app
root-app:
kubectl apply -n argocd -f root-app/applicationsets/bootstrap.yaml