-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
86 lines (64 loc) · 2.51 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
.PHONY: pihole jellyfin jellyseerr prowlarr qbittorrent radarr sonarr nginx-ingress forecastle flaresolverr external-dns cert-manager kube-prometheus-stack
all-core: nginx-ingress nfs-provionner external-dns cert-manager kube-prometheus-stack
all-core-app: forecastle
all-torrent-app: jellyfin jellyseerr prowlarr qbittorrent radarr sonarr flaresolverr
########## BOOTSTRAP ##########
boot: longhorn argocd nginx-ingress external-dns cert-manager kube-prometheus-stack forecastle jellyfin jellyseerr prowlarr qbittorrent radarr sonarr flaresolverr
########## ARGOCD ##########
argocd-password:
@echo Password: $$(kubectl get secret argocd-initial-admin-secret -n argo-cd -o jsonpath="{.data.password}" | base64 -d)
########## INTRANET ##########
forecastle:
@printf "Deploy forecastle application\n"
@kubectl apply -f forecastle/application.yaml
########## CORE ##########
longhorn:
@printf "Install longhorn application\n"
@pushd bootstrap && \
kubectl kustomize --enable-helm | kubectl apply -f - && \
popd
argocd:
@printf "Install argocd application\n"
pushd argo-cd && \
kubectl kustomize --enable-helm | kubectl apply -f - && \
popd
nginx-ingress:
@printf "Deploy nginx-ingress application\n"
@kubectl apply -f nginx-ingress/application.yaml
external-dns:
@printf "Deploy external-dns application\n"
@kubectl apply -f external-dns/application.yaml
external-service:
@printf "Deploy external-service application\n"
@kubectl apply -f external-service/application.yaml
cert-manager:
@printf "Install cert-manager application\n"
@kubectl apply -f cert-manager/helm-application.yaml
kube-prometheus-stack:
@printf "Install kube-prometheus-stack application\n"
@kubectl apply -f kube-prometheus-stack/application.yaml
pihole:
@printf "Deploy pihole application\n"
@kubectl apply -f pihole/application.yaml
########## TORRENT ##########
flaresolverr:
@printf "Deploy flaresolverr application\n"
@kubectl apply -f flaresolverr/application.yaml
jellyfin:
@printf "Deploy jellyfin application\n"
@kubectl apply -f jellyfin/application.yaml
jellyseerr:
@printf "Deploy jellyseerr application\n"
@kubectl apply -f jellyseerr/application.yaml
prowlarr:
@printf "Deploy prowlarr application\n"
@kubectl apply -f prowlarr/application.yaml
qbittorrent:
@printf "Deploy qbittorrent application\n"
@kubectl apply -f qbittorrent/application.yaml
radarr:
@printf "Deploy radarr application\n"
@kubectl apply -f radarr/application.yaml
sonarr:
@printf "Deploy sonarr application\n"
@kubectl apply -f sonarr/application.yaml