mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-07 14:03:01 +07:00
17 lines
303 B
Makefile
17 lines
303 B
Makefile
.POSIX:
|
|
.EXPORT_ALL_VARIABLES:
|
|
|
|
KUBECONFIG = ../cluster/kubeconfig.yaml
|
|
|
|
default: argocd root-app
|
|
|
|
.PHONY: argocd
|
|
argocd:
|
|
helm dependencies update ./argocd
|
|
helm template ./argocd | kubectl apply -f -
|
|
# TODO wait for argocd
|
|
|
|
.PHONY: root-app
|
|
root-app:
|
|
kustomize build ./root-app | kubectl apply -f -
|