From 8a5db076032955cc1d115acf1967ab3db044fa1d Mon Sep 17 00:00:00 2001 From: Ari Sosnovsky Date: Mon, 4 Aug 2025 15:28:17 -0400 Subject: [PATCH] Mon 04 Aug 2025 03:28:17 PM EDT --- .../ingress/templates/chart-homepage.yaml | 32 +++++++++++++++++++ charts/apps/ingress/values.yaml | 4 ++- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 charts/apps/ingress/templates/chart-homepage.yaml diff --git a/charts/apps/ingress/templates/chart-homepage.yaml b/charts/apps/ingress/templates/chart-homepage.yaml new file mode 100644 index 0000000..9e126ea --- /dev/null +++ b/charts/apps/ingress/templates/chart-homepage.yaml @@ -0,0 +1,32 @@ +--- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: "homepage" + namespace: {{ .Values.ns.argocd }} +spec: + project: main + source: + path: 'charts/homepage' + repoURL: "git@github.com:asosnovsky/helm-charts.git" + targetRevision: main + helm: + values: |- + allowedHosts: "home.k3s.local" + destination: + namespace: "homepage" + server: https://kubernetes.default.svc + syncPolicy: + syncOptions: + - CreateNamespace=true + automated: + prune: true + selfHeal: true +--- +{{ include "homelab.ingress" (dict + "global" $.Values.global + "prefix" "home" + "service": "homepage" + "namespace": "homepage" + "disableExternalIngress" true +) }} diff --git a/charts/apps/ingress/values.yaml b/charts/apps/ingress/values.yaml index 0bf28cb..c57035e 100644 --- a/charts/apps/ingress/values.yaml +++ b/charts/apps/ingress/values.yaml @@ -13,4 +13,6 @@ global: reverseProxy: {} services: [] -tailScaleServices: [] \ No newline at end of file +tailScaleServices: [] +ns: + argocd: plugin-argo-cd \ No newline at end of file