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