Skip to content

Commit

Permalink
chore(): save work
Browse files Browse the repository at this point in the history
  • Loading branch information
guiadco committed Jan 3, 2024
1 parent d9cc0a8 commit a16cad8
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 22 deletions.
29 changes: 18 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,38 @@ all-core: nginx-ingress nfs-provionner external-dns cert-manager kube-prometheus
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:
@printf "Install argocd application\n"
pushd argo-cd && \
kubectl kustomize --enable-helm | kubectl apply -f - && \
popd

argocd-password:
@echo Password: $$(kubectl get secret argocd-initial-admin-secret -n argo-cd -o jsonpath="{.data.password}" | base64 -d)

########## FORECASTLE ##########
########## 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

########## CORE ##########
nfs-provionner:
@printf "Install nfs-provionner application\n"
@kubectl apply -f nfs-provionner/application.yaml

external-dns:
@printf "Deploy external-dns application\n"
@kubectl apply -f external-dns/application.yaml
Expand Down
Empty file removed application/longhorn.yaml
Empty file.
4 changes: 4 additions & 0 deletions bootstrap/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../longhorn/
2 changes: 1 addition & 1 deletion external-services/cockpit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ spec:
name: "Cockpit"
group: Server
icon: https://linuxundich.de/wp-content/uploads/2014/12/cockpit-fedora-logo.png
url: https://geekhomeinside.io:9090/
url: https://cockpit.geekhomeinside.io:9090/
9 changes: 0 additions & 9 deletions external-services/yoda.yaml

This file was deleted.

3 changes: 2 additions & 1 deletion longhorn/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ helmCharts:
version: "1.4.0"
repo: https://charts.longhorn.io
namespace: longhorn-system

resources:
- namespace
- namespace.yaml
- default-resources.yaml

patches:
Expand Down

0 comments on commit a16cad8

Please sign in to comment.