From a16cad894f04a663c523341c18ef396d9245875b Mon Sep 17 00:00:00 2001 From: guiadco Date: Wed, 3 Jan 2024 20:24:37 +0100 Subject: [PATCH] chore(): save work --- Makefile | 29 ++++++++++++++++++----------- application/longhorn.yaml | 0 bootstrap/kustomization.yaml | 4 ++++ external-services/cockpit.yaml | 2 +- external-services/yoda.yaml | 9 --------- longhorn/kustomization.yaml | 3 ++- 6 files changed, 25 insertions(+), 22 deletions(-) delete mode 100644 application/longhorn.yaml create mode 100644 bootstrap/kustomization.yaml delete mode 100644 external-services/yoda.yaml diff --git a/Makefile b/Makefile index 4b4ecd5..d7b895b 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/application/longhorn.yaml b/application/longhorn.yaml deleted file mode 100644 index e69de29..0000000 diff --git a/bootstrap/kustomization.yaml b/bootstrap/kustomization.yaml new file mode 100644 index 0000000..1e350b3 --- /dev/null +++ b/bootstrap/kustomization.yaml @@ -0,0 +1,4 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - ../longhorn/ diff --git a/external-services/cockpit.yaml b/external-services/cockpit.yaml index 9268491..8f8ee9d 100644 --- a/external-services/cockpit.yaml +++ b/external-services/cockpit.yaml @@ -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/ diff --git a/external-services/yoda.yaml b/external-services/yoda.yaml deleted file mode 100644 index b712d3d..0000000 --- a/external-services/yoda.yaml +++ /dev/null @@ -1,9 +0,0 @@ -apiVersion: forecastle.stakater.com/v1alpha1 -kind: ForecastleApp -metadata: - name: readynas -spec: - name: "ReadyNAS" - group: Storage - icon: https://www.netgear.fr/images/support/apps/Insight%20App%20Icon.png - url: https://yoda.geekhomeinside.io/ diff --git a/longhorn/kustomization.yaml b/longhorn/kustomization.yaml index 7661461..e95f2e8 100644 --- a/longhorn/kustomization.yaml +++ b/longhorn/kustomization.yaml @@ -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: