updated webapps loading

This commit is contained in:
Ariel Sosnovsky committed 2023-12-21 10:25:19 -05:00
1 parent 5b6d0c9e71
commit 69c9bb8ea3
8 files changed
+10 -7

No files matched your search

@@ -1,5 +1,5 @@
apiVersion: v2
name: basic-webapps
name: webapps
description: An applications service for homelab
type: application
version: 0.1.0
File renamed without changes.
File renamed without changes.
File renamed without changes.
+7 -4
View File
@@ -107,11 +107,13 @@ services:
middleware: "apps-ingresses-chain-authentik"
group: "Video Hosting"
{{- end }}
# basic-webapp services
{{- range $k, $v := .Values.basic-webapps.apps }}
# webapp services
{{ $webapps := .Files.Get .Values.apps.webapps.valuesFile }}
{{ $webapps := tpl $webapps . | fromYaml }}
{{- range $k, $v := $webapps.apps }}
- prefix: "{{ $k }}.wa"
service: "{{ $k }}"
namespace: "apps-basic-webapps"
namespace: "apps-webapps"
port: {{ $v.ports.tcp.web }}
{{ if $.ingress }}
middleware: {{ $.ingress.middleware | default "apps-ingresses-chain-authentik" }}
@@ -119,4 +121,5 @@ services:
middleware: "apps-ingresses-chain-authentik"
{{ end }}
group: "Basic Webapps"
{{- end }}
{{- end }}
+2 -2
View File
@@ -40,8 +40,8 @@ videohosting:
6881: 6881
apps:
basic-webapps:
valuesFile: basic-webapp.yaml
webapps:
valuesFile: webapps.yaml
syncPolicy:
automated:
selfHeal: true