khuedoan-homelab/bootstrap/Makefile
2021-08-22 23:37:51 +07:00

16 lines
270 B
Makefile

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