From cc075f3af35a7abe336e1117357bb606b3cdfbcb Mon Sep 17 00:00:00 2001 From: Morten Olsen Date: Thu, 4 Dec 2025 09:44:17 +0100 Subject: [PATCH] migrate to virtual services --- .../templates/virtual-service.yaml | 18 ++++++++++++++++++ .../baikal/templates/virtual-service.yaml | 18 ++++++++++++++++++ .../bytestash/templates/virtual-service.yaml | 18 ++++++++++++++++++ .../calibre-web/templates/virtual-service.yaml | 18 ++++++++++++++++++ apps/charts/coder/templates/http-service.yaml | 11 ----------- .../coder/templates/virtual-service.yaml | 18 ++++++++++++++++++ .../esphome/templates/virtual-service.yaml | 18 ++++++++++++++++++ .../gitea/templates/virtual-service.yaml | 18 ++++++++++++++++++ .../templates/virtual-service.yaml | 18 ++++++++++++++++++ apps/charts/homarr/templates/http-service.yaml | 11 ----------- .../homarr/templates/virtual-service.yaml | 18 ++++++++++++++++++ .../home-assistant/templates/http-service.yaml | 11 ----------- .../templates/virtual-service.yaml | 18 ++++++++++++++++++ .../jellyfin/templates/virtual-service.yaml | 18 ++++++++++++++++++ .../templates/virtual-service.yaml | 18 ++++++++++++++++++ .../mealie/templates/virtual-service.yaml | 18 ++++++++++++++++++ .../metabase/templates/virtual-service.yaml | 18 ++++++++++++++++++ .../metamcp/templates/virtual-service.yaml | 18 ++++++++++++++++++ .../templates/virtual-service.yaml | 18 ++++++++++++++++++ .../miniflux/templates/virtual-service.yaml | 18 ++++++++++++++++++ .../mollysocket/templates/http-service.yaml | 11 ----------- .../mollysocket/templates/virtual-service.yaml | 18 ++++++++++++++++++ apps/charts/mqtt/templates/http-service.yaml | 11 ----------- .../charts/mqtt/templates/virtual-service.yaml | 18 ++++++++++++++++++ .../templates/http-service.yaml | 11 ----------- .../templates/virtual-service.yaml | 18 ++++++++++++++++++ apps/charts/n8n/templates/http-service.yaml | 11 ----------- apps/charts/n8n/templates/virtual-service.yaml | 18 ++++++++++++++++++ .../templates/http-service.yaml | 11 ----------- .../templates/virtual-service.yaml | 18 ++++++++++++++++++ apps/charts/ntfy/templates/http-service.yaml | 11 ----------- .../charts/ntfy/templates/virtual-service.yaml | 18 ++++++++++++++++++ .../openwebui/templates/http-service.yaml | 11 ----------- .../openwebui/templates/virtual-service.yaml | 18 ++++++++++++++++++ apps/charts/penpot/templates/http-service.yaml | 11 ----------- .../penpot/templates/virtual-service.yaml | 18 ++++++++++++++++++ apps/charts/penpot/values.yaml | 2 +- .../photoprism/templates/http-service.yaml | 11 ----------- .../photoprism/templates/virtual-service.yaml | 18 ++++++++++++++++++ .../templates/http-service.yaml | 11 ----------- .../templates/virtual-service.yaml | 18 ++++++++++++++++++ .../charts/readeck/templates/http-service.yaml | 11 ----------- .../readeck/templates/virtual-service.yaml | 18 ++++++++++++++++++ .../reservoir/templates/virtual-service.yaml | 18 ++++++++++++++++++ .../templates/http-service.yaml | 11 ----------- .../templates/virtual-service.yaml | 18 ++++++++++++++++++ .../charts/vikunja/templates/http-service.yaml | 11 ----------- .../vikunja/templates/virtual-service.yaml | 18 ++++++++++++++++++ .../zerobyte/templates/http-service.yaml | 11 ----------- .../zerobyte/templates/virtual-service.yaml | 18 ++++++++++++++++++ apps/charts/zot/templates/http-service.yaml | 11 ----------- apps/charts/zot/templates/virtual-service.yaml | 18 ++++++++++++++++++ 52 files changed, 595 insertions(+), 199 deletions(-) create mode 100644 apps/charts/appsmith.disabled/templates/virtual-service.yaml create mode 100644 apps/charts/baikal/templates/virtual-service.yaml create mode 100644 apps/charts/bytestash/templates/virtual-service.yaml create mode 100644 apps/charts/calibre-web/templates/virtual-service.yaml delete mode 100644 apps/charts/coder/templates/http-service.yaml create mode 100644 apps/charts/coder/templates/virtual-service.yaml create mode 100644 apps/charts/esphome/templates/virtual-service.yaml create mode 100644 apps/charts/gitea/templates/virtual-service.yaml create mode 100644 apps/charts/headscale.disabled/templates/virtual-service.yaml delete mode 100644 apps/charts/homarr/templates/http-service.yaml create mode 100644 apps/charts/homarr/templates/virtual-service.yaml delete mode 100644 apps/charts/home-assistant/templates/http-service.yaml create mode 100644 apps/charts/home-assistant/templates/virtual-service.yaml create mode 100644 apps/charts/jellyfin/templates/virtual-service.yaml create mode 100644 apps/charts/linkwarden.disabled/templates/virtual-service.yaml create mode 100644 apps/charts/mealie/templates/virtual-service.yaml create mode 100644 apps/charts/metabase/templates/virtual-service.yaml create mode 100644 apps/charts/metamcp/templates/virtual-service.yaml create mode 100644 apps/charts/mindsdb.disabled/templates/virtual-service.yaml create mode 100644 apps/charts/miniflux/templates/virtual-service.yaml delete mode 100644 apps/charts/mollysocket/templates/http-service.yaml create mode 100644 apps/charts/mollysocket/templates/virtual-service.yaml delete mode 100644 apps/charts/mqtt/templates/http-service.yaml create mode 100644 apps/charts/mqtt/templates/virtual-service.yaml delete mode 100644 apps/charts/music-assistant/templates/http-service.yaml create mode 100644 apps/charts/music-assistant/templates/virtual-service.yaml delete mode 100644 apps/charts/n8n/templates/http-service.yaml create mode 100644 apps/charts/n8n/templates/virtual-service.yaml delete mode 100644 apps/charts/nocodb.disabled/templates/http-service.yaml create mode 100644 apps/charts/nocodb.disabled/templates/virtual-service.yaml delete mode 100644 apps/charts/ntfy/templates/http-service.yaml create mode 100644 apps/charts/ntfy/templates/virtual-service.yaml delete mode 100644 apps/charts/openwebui/templates/http-service.yaml create mode 100644 apps/charts/openwebui/templates/virtual-service.yaml delete mode 100644 apps/charts/penpot/templates/http-service.yaml create mode 100644 apps/charts/penpot/templates/virtual-service.yaml delete mode 100644 apps/charts/photoprism/templates/http-service.yaml create mode 100644 apps/charts/photoprism/templates/virtual-service.yaml delete mode 100644 apps/charts/pigeon-pod.disabled/templates/http-service.yaml create mode 100644 apps/charts/pigeon-pod.disabled/templates/virtual-service.yaml delete mode 100644 apps/charts/readeck/templates/http-service.yaml create mode 100644 apps/charts/readeck/templates/virtual-service.yaml create mode 100644 apps/charts/reservoir/templates/virtual-service.yaml delete mode 100644 apps/charts/siyuan.disabled/templates/http-service.yaml create mode 100644 apps/charts/siyuan.disabled/templates/virtual-service.yaml delete mode 100644 apps/charts/vikunja/templates/http-service.yaml create mode 100644 apps/charts/vikunja/templates/virtual-service.yaml delete mode 100644 apps/charts/zerobyte/templates/http-service.yaml create mode 100644 apps/charts/zerobyte/templates/virtual-service.yaml delete mode 100644 apps/charts/zot/templates/http-service.yaml create mode 100644 apps/charts/zot/templates/virtual-service.yaml diff --git a/apps/charts/appsmith.disabled/templates/virtual-service.yaml b/apps/charts/appsmith.disabled/templates/virtual-service.yaml new file mode 100644 index 0000000..0af9b24 --- /dev/null +++ b/apps/charts/appsmith.disabled/templates/virtual-service.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.istio.io/v1 +kind: VirtualService +metadata: + name: "{{ .Release.Name }}" + namespace: "{{ .Release.Namespace }}" +spec: + gateways: + - "{{ .Values.globals.istio.gateway }}" + - mesh + hosts: + - "{{ .Values.subdomain }}.{{ .Values.globals.domain }}" + - mesh + http: + - route: + - destination: + host: "{{ .Release.Name }}" + port: + number: 80 diff --git a/apps/charts/baikal/templates/virtual-service.yaml b/apps/charts/baikal/templates/virtual-service.yaml new file mode 100644 index 0000000..0af9b24 --- /dev/null +++ b/apps/charts/baikal/templates/virtual-service.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.istio.io/v1 +kind: VirtualService +metadata: + name: "{{ .Release.Name }}" + namespace: "{{ .Release.Namespace }}" +spec: + gateways: + - "{{ .Values.globals.istio.gateway }}" + - mesh + hosts: + - "{{ .Values.subdomain }}.{{ .Values.globals.domain }}" + - mesh + http: + - route: + - destination: + host: "{{ .Release.Name }}" + port: + number: 80 diff --git a/apps/charts/bytestash/templates/virtual-service.yaml b/apps/charts/bytestash/templates/virtual-service.yaml new file mode 100644 index 0000000..0af9b24 --- /dev/null +++ b/apps/charts/bytestash/templates/virtual-service.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.istio.io/v1 +kind: VirtualService +metadata: + name: "{{ .Release.Name }}" + namespace: "{{ .Release.Namespace }}" +spec: + gateways: + - "{{ .Values.globals.istio.gateway }}" + - mesh + hosts: + - "{{ .Values.subdomain }}.{{ .Values.globals.domain }}" + - mesh + http: + - route: + - destination: + host: "{{ .Release.Name }}" + port: + number: 80 diff --git a/apps/charts/calibre-web/templates/virtual-service.yaml b/apps/charts/calibre-web/templates/virtual-service.yaml new file mode 100644 index 0000000..0af9b24 --- /dev/null +++ b/apps/charts/calibre-web/templates/virtual-service.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.istio.io/v1 +kind: VirtualService +metadata: + name: "{{ .Release.Name }}" + namespace: "{{ .Release.Namespace }}" +spec: + gateways: + - "{{ .Values.globals.istio.gateway }}" + - mesh + hosts: + - "{{ .Values.subdomain }}.{{ .Values.globals.domain }}" + - mesh + http: + - route: + - destination: + host: "{{ .Release.Name }}" + port: + number: 80 diff --git a/apps/charts/coder/templates/http-service.yaml b/apps/charts/coder/templates/http-service.yaml deleted file mode 100644 index 2233b00..0000000 --- a/apps/charts/coder/templates/http-service.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: homelab.mortenolsen.pro/v1 -kind: HttpService -metadata: - name: '{{ .Release.Name }}' -spec: - environment: '{{ .Values.globals.environment }}' - subdomain: '{{ .Values.subdomain }}' - destination: - host: '{{ .Release.Name }}.{{ .Release.Namespace }}.svc.cluster.local' - port: - number: 80 diff --git a/apps/charts/coder/templates/virtual-service.yaml b/apps/charts/coder/templates/virtual-service.yaml new file mode 100644 index 0000000..0af9b24 --- /dev/null +++ b/apps/charts/coder/templates/virtual-service.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.istio.io/v1 +kind: VirtualService +metadata: + name: "{{ .Release.Name }}" + namespace: "{{ .Release.Namespace }}" +spec: + gateways: + - "{{ .Values.globals.istio.gateway }}" + - mesh + hosts: + - "{{ .Values.subdomain }}.{{ .Values.globals.domain }}" + - mesh + http: + - route: + - destination: + host: "{{ .Release.Name }}" + port: + number: 80 diff --git a/apps/charts/esphome/templates/virtual-service.yaml b/apps/charts/esphome/templates/virtual-service.yaml new file mode 100644 index 0000000..0af9b24 --- /dev/null +++ b/apps/charts/esphome/templates/virtual-service.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.istio.io/v1 +kind: VirtualService +metadata: + name: "{{ .Release.Name }}" + namespace: "{{ .Release.Namespace }}" +spec: + gateways: + - "{{ .Values.globals.istio.gateway }}" + - mesh + hosts: + - "{{ .Values.subdomain }}.{{ .Values.globals.domain }}" + - mesh + http: + - route: + - destination: + host: "{{ .Release.Name }}" + port: + number: 80 diff --git a/apps/charts/gitea/templates/virtual-service.yaml b/apps/charts/gitea/templates/virtual-service.yaml new file mode 100644 index 0000000..0af9b24 --- /dev/null +++ b/apps/charts/gitea/templates/virtual-service.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.istio.io/v1 +kind: VirtualService +metadata: + name: "{{ .Release.Name }}" + namespace: "{{ .Release.Namespace }}" +spec: + gateways: + - "{{ .Values.globals.istio.gateway }}" + - mesh + hosts: + - "{{ .Values.subdomain }}.{{ .Values.globals.domain }}" + - mesh + http: + - route: + - destination: + host: "{{ .Release.Name }}" + port: + number: 80 diff --git a/apps/charts/headscale.disabled/templates/virtual-service.yaml b/apps/charts/headscale.disabled/templates/virtual-service.yaml new file mode 100644 index 0000000..0af9b24 --- /dev/null +++ b/apps/charts/headscale.disabled/templates/virtual-service.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.istio.io/v1 +kind: VirtualService +metadata: + name: "{{ .Release.Name }}" + namespace: "{{ .Release.Namespace }}" +spec: + gateways: + - "{{ .Values.globals.istio.gateway }}" + - mesh + hosts: + - "{{ .Values.subdomain }}.{{ .Values.globals.domain }}" + - mesh + http: + - route: + - destination: + host: "{{ .Release.Name }}" + port: + number: 80 diff --git a/apps/charts/homarr/templates/http-service.yaml b/apps/charts/homarr/templates/http-service.yaml deleted file mode 100644 index 89df8bf..0000000 --- a/apps/charts/homarr/templates/http-service.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: homelab.mortenolsen.pro/v1 -kind: HttpService -metadata: - name: "{{ .Release.Name }}" -spec: - environment: "{{ .Values.globals.environment }}" - subdomain: "{{ .Values.subdomain }}" - destination: - host: "{{ .Release.Name }}.{{ .Release.Namespace }}.svc.cluster.local" - port: - number: 80 diff --git a/apps/charts/homarr/templates/virtual-service.yaml b/apps/charts/homarr/templates/virtual-service.yaml new file mode 100644 index 0000000..0af9b24 --- /dev/null +++ b/apps/charts/homarr/templates/virtual-service.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.istio.io/v1 +kind: VirtualService +metadata: + name: "{{ .Release.Name }}" + namespace: "{{ .Release.Namespace }}" +spec: + gateways: + - "{{ .Values.globals.istio.gateway }}" + - mesh + hosts: + - "{{ .Values.subdomain }}.{{ .Values.globals.domain }}" + - mesh + http: + - route: + - destination: + host: "{{ .Release.Name }}" + port: + number: 80 diff --git a/apps/charts/home-assistant/templates/http-service.yaml b/apps/charts/home-assistant/templates/http-service.yaml deleted file mode 100644 index 89df8bf..0000000 --- a/apps/charts/home-assistant/templates/http-service.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: homelab.mortenolsen.pro/v1 -kind: HttpService -metadata: - name: "{{ .Release.Name }}" -spec: - environment: "{{ .Values.globals.environment }}" - subdomain: "{{ .Values.subdomain }}" - destination: - host: "{{ .Release.Name }}.{{ .Release.Namespace }}.svc.cluster.local" - port: - number: 80 diff --git a/apps/charts/home-assistant/templates/virtual-service.yaml b/apps/charts/home-assistant/templates/virtual-service.yaml new file mode 100644 index 0000000..0af9b24 --- /dev/null +++ b/apps/charts/home-assistant/templates/virtual-service.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.istio.io/v1 +kind: VirtualService +metadata: + name: "{{ .Release.Name }}" + namespace: "{{ .Release.Namespace }}" +spec: + gateways: + - "{{ .Values.globals.istio.gateway }}" + - mesh + hosts: + - "{{ .Values.subdomain }}.{{ .Values.globals.domain }}" + - mesh + http: + - route: + - destination: + host: "{{ .Release.Name }}" + port: + number: 80 diff --git a/apps/charts/jellyfin/templates/virtual-service.yaml b/apps/charts/jellyfin/templates/virtual-service.yaml new file mode 100644 index 0000000..0af9b24 --- /dev/null +++ b/apps/charts/jellyfin/templates/virtual-service.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.istio.io/v1 +kind: VirtualService +metadata: + name: "{{ .Release.Name }}" + namespace: "{{ .Release.Namespace }}" +spec: + gateways: + - "{{ .Values.globals.istio.gateway }}" + - mesh + hosts: + - "{{ .Values.subdomain }}.{{ .Values.globals.domain }}" + - mesh + http: + - route: + - destination: + host: "{{ .Release.Name }}" + port: + number: 80 diff --git a/apps/charts/linkwarden.disabled/templates/virtual-service.yaml b/apps/charts/linkwarden.disabled/templates/virtual-service.yaml new file mode 100644 index 0000000..0af9b24 --- /dev/null +++ b/apps/charts/linkwarden.disabled/templates/virtual-service.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.istio.io/v1 +kind: VirtualService +metadata: + name: "{{ .Release.Name }}" + namespace: "{{ .Release.Namespace }}" +spec: + gateways: + - "{{ .Values.globals.istio.gateway }}" + - mesh + hosts: + - "{{ .Values.subdomain }}.{{ .Values.globals.domain }}" + - mesh + http: + - route: + - destination: + host: "{{ .Release.Name }}" + port: + number: 80 diff --git a/apps/charts/mealie/templates/virtual-service.yaml b/apps/charts/mealie/templates/virtual-service.yaml new file mode 100644 index 0000000..0af9b24 --- /dev/null +++ b/apps/charts/mealie/templates/virtual-service.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.istio.io/v1 +kind: VirtualService +metadata: + name: "{{ .Release.Name }}" + namespace: "{{ .Release.Namespace }}" +spec: + gateways: + - "{{ .Values.globals.istio.gateway }}" + - mesh + hosts: + - "{{ .Values.subdomain }}.{{ .Values.globals.domain }}" + - mesh + http: + - route: + - destination: + host: "{{ .Release.Name }}" + port: + number: 80 diff --git a/apps/charts/metabase/templates/virtual-service.yaml b/apps/charts/metabase/templates/virtual-service.yaml new file mode 100644 index 0000000..0af9b24 --- /dev/null +++ b/apps/charts/metabase/templates/virtual-service.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.istio.io/v1 +kind: VirtualService +metadata: + name: "{{ .Release.Name }}" + namespace: "{{ .Release.Namespace }}" +spec: + gateways: + - "{{ .Values.globals.istio.gateway }}" + - mesh + hosts: + - "{{ .Values.subdomain }}.{{ .Values.globals.domain }}" + - mesh + http: + - route: + - destination: + host: "{{ .Release.Name }}" + port: + number: 80 diff --git a/apps/charts/metamcp/templates/virtual-service.yaml b/apps/charts/metamcp/templates/virtual-service.yaml new file mode 100644 index 0000000..0af9b24 --- /dev/null +++ b/apps/charts/metamcp/templates/virtual-service.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.istio.io/v1 +kind: VirtualService +metadata: + name: "{{ .Release.Name }}" + namespace: "{{ .Release.Namespace }}" +spec: + gateways: + - "{{ .Values.globals.istio.gateway }}" + - mesh + hosts: + - "{{ .Values.subdomain }}.{{ .Values.globals.domain }}" + - mesh + http: + - route: + - destination: + host: "{{ .Release.Name }}" + port: + number: 80 diff --git a/apps/charts/mindsdb.disabled/templates/virtual-service.yaml b/apps/charts/mindsdb.disabled/templates/virtual-service.yaml new file mode 100644 index 0000000..0af9b24 --- /dev/null +++ b/apps/charts/mindsdb.disabled/templates/virtual-service.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.istio.io/v1 +kind: VirtualService +metadata: + name: "{{ .Release.Name }}" + namespace: "{{ .Release.Namespace }}" +spec: + gateways: + - "{{ .Values.globals.istio.gateway }}" + - mesh + hosts: + - "{{ .Values.subdomain }}.{{ .Values.globals.domain }}" + - mesh + http: + - route: + - destination: + host: "{{ .Release.Name }}" + port: + number: 80 diff --git a/apps/charts/miniflux/templates/virtual-service.yaml b/apps/charts/miniflux/templates/virtual-service.yaml new file mode 100644 index 0000000..0af9b24 --- /dev/null +++ b/apps/charts/miniflux/templates/virtual-service.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.istio.io/v1 +kind: VirtualService +metadata: + name: "{{ .Release.Name }}" + namespace: "{{ .Release.Namespace }}" +spec: + gateways: + - "{{ .Values.globals.istio.gateway }}" + - mesh + hosts: + - "{{ .Values.subdomain }}.{{ .Values.globals.domain }}" + - mesh + http: + - route: + - destination: + host: "{{ .Release.Name }}" + port: + number: 80 diff --git a/apps/charts/mollysocket/templates/http-service.yaml b/apps/charts/mollysocket/templates/http-service.yaml deleted file mode 100644 index 15b1989..0000000 --- a/apps/charts/mollysocket/templates/http-service.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: homelab.mortenolsen.pro/v1 -kind: HttpService -metadata: - name: "{{ .Release.Name }}" -spec: - environment: "{{ .Values.globals.environment }}" - subdomain: "{{ .Values.subdomain }}" - destination: - host: "{{ .Release.Name }}" - port: - number: 80 diff --git a/apps/charts/mollysocket/templates/virtual-service.yaml b/apps/charts/mollysocket/templates/virtual-service.yaml new file mode 100644 index 0000000..0af9b24 --- /dev/null +++ b/apps/charts/mollysocket/templates/virtual-service.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.istio.io/v1 +kind: VirtualService +metadata: + name: "{{ .Release.Name }}" + namespace: "{{ .Release.Namespace }}" +spec: + gateways: + - "{{ .Values.globals.istio.gateway }}" + - mesh + hosts: + - "{{ .Values.subdomain }}.{{ .Values.globals.domain }}" + - mesh + http: + - route: + - destination: + host: "{{ .Release.Name }}" + port: + number: 80 diff --git a/apps/charts/mqtt/templates/http-service.yaml b/apps/charts/mqtt/templates/http-service.yaml deleted file mode 100644 index 52a7cc3..0000000 --- a/apps/charts/mqtt/templates/http-service.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: homelab.mortenolsen.pro/v1 -kind: HttpService -metadata: - name: "{{ .Release.Name }}" -spec: - environment: "{{ .Values.globals.environment }}" - subdomain: "{{ .Values.subdomain }}" - destination: - host: "{{ .Release.Name }}" - port: - number: 1883 diff --git a/apps/charts/mqtt/templates/virtual-service.yaml b/apps/charts/mqtt/templates/virtual-service.yaml new file mode 100644 index 0000000..0af9b24 --- /dev/null +++ b/apps/charts/mqtt/templates/virtual-service.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.istio.io/v1 +kind: VirtualService +metadata: + name: "{{ .Release.Name }}" + namespace: "{{ .Release.Namespace }}" +spec: + gateways: + - "{{ .Values.globals.istio.gateway }}" + - mesh + hosts: + - "{{ .Values.subdomain }}.{{ .Values.globals.domain }}" + - mesh + http: + - route: + - destination: + host: "{{ .Release.Name }}" + port: + number: 80 diff --git a/apps/charts/music-assistant/templates/http-service.yaml b/apps/charts/music-assistant/templates/http-service.yaml deleted file mode 100644 index 89df8bf..0000000 --- a/apps/charts/music-assistant/templates/http-service.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: homelab.mortenolsen.pro/v1 -kind: HttpService -metadata: - name: "{{ .Release.Name }}" -spec: - environment: "{{ .Values.globals.environment }}" - subdomain: "{{ .Values.subdomain }}" - destination: - host: "{{ .Release.Name }}.{{ .Release.Namespace }}.svc.cluster.local" - port: - number: 80 diff --git a/apps/charts/music-assistant/templates/virtual-service.yaml b/apps/charts/music-assistant/templates/virtual-service.yaml new file mode 100644 index 0000000..0af9b24 --- /dev/null +++ b/apps/charts/music-assistant/templates/virtual-service.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.istio.io/v1 +kind: VirtualService +metadata: + name: "{{ .Release.Name }}" + namespace: "{{ .Release.Namespace }}" +spec: + gateways: + - "{{ .Values.globals.istio.gateway }}" + - mesh + hosts: + - "{{ .Values.subdomain }}.{{ .Values.globals.domain }}" + - mesh + http: + - route: + - destination: + host: "{{ .Release.Name }}" + port: + number: 80 diff --git a/apps/charts/n8n/templates/http-service.yaml b/apps/charts/n8n/templates/http-service.yaml deleted file mode 100644 index 15b1989..0000000 --- a/apps/charts/n8n/templates/http-service.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: homelab.mortenolsen.pro/v1 -kind: HttpService -metadata: - name: "{{ .Release.Name }}" -spec: - environment: "{{ .Values.globals.environment }}" - subdomain: "{{ .Values.subdomain }}" - destination: - host: "{{ .Release.Name }}" - port: - number: 80 diff --git a/apps/charts/n8n/templates/virtual-service.yaml b/apps/charts/n8n/templates/virtual-service.yaml new file mode 100644 index 0000000..0af9b24 --- /dev/null +++ b/apps/charts/n8n/templates/virtual-service.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.istio.io/v1 +kind: VirtualService +metadata: + name: "{{ .Release.Name }}" + namespace: "{{ .Release.Namespace }}" +spec: + gateways: + - "{{ .Values.globals.istio.gateway }}" + - mesh + hosts: + - "{{ .Values.subdomain }}.{{ .Values.globals.domain }}" + - mesh + http: + - route: + - destination: + host: "{{ .Release.Name }}" + port: + number: 80 diff --git a/apps/charts/nocodb.disabled/templates/http-service.yaml b/apps/charts/nocodb.disabled/templates/http-service.yaml deleted file mode 100644 index 15b1989..0000000 --- a/apps/charts/nocodb.disabled/templates/http-service.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: homelab.mortenolsen.pro/v1 -kind: HttpService -metadata: - name: "{{ .Release.Name }}" -spec: - environment: "{{ .Values.globals.environment }}" - subdomain: "{{ .Values.subdomain }}" - destination: - host: "{{ .Release.Name }}" - port: - number: 80 diff --git a/apps/charts/nocodb.disabled/templates/virtual-service.yaml b/apps/charts/nocodb.disabled/templates/virtual-service.yaml new file mode 100644 index 0000000..0af9b24 --- /dev/null +++ b/apps/charts/nocodb.disabled/templates/virtual-service.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.istio.io/v1 +kind: VirtualService +metadata: + name: "{{ .Release.Name }}" + namespace: "{{ .Release.Namespace }}" +spec: + gateways: + - "{{ .Values.globals.istio.gateway }}" + - mesh + hosts: + - "{{ .Values.subdomain }}.{{ .Values.globals.domain }}" + - mesh + http: + - route: + - destination: + host: "{{ .Release.Name }}" + port: + number: 80 diff --git a/apps/charts/ntfy/templates/http-service.yaml b/apps/charts/ntfy/templates/http-service.yaml deleted file mode 100644 index 15b1989..0000000 --- a/apps/charts/ntfy/templates/http-service.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: homelab.mortenolsen.pro/v1 -kind: HttpService -metadata: - name: "{{ .Release.Name }}" -spec: - environment: "{{ .Values.globals.environment }}" - subdomain: "{{ .Values.subdomain }}" - destination: - host: "{{ .Release.Name }}" - port: - number: 80 diff --git a/apps/charts/ntfy/templates/virtual-service.yaml b/apps/charts/ntfy/templates/virtual-service.yaml new file mode 100644 index 0000000..0af9b24 --- /dev/null +++ b/apps/charts/ntfy/templates/virtual-service.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.istio.io/v1 +kind: VirtualService +metadata: + name: "{{ .Release.Name }}" + namespace: "{{ .Release.Namespace }}" +spec: + gateways: + - "{{ .Values.globals.istio.gateway }}" + - mesh + hosts: + - "{{ .Values.subdomain }}.{{ .Values.globals.domain }}" + - mesh + http: + - route: + - destination: + host: "{{ .Release.Name }}" + port: + number: 80 diff --git a/apps/charts/openwebui/templates/http-service.yaml b/apps/charts/openwebui/templates/http-service.yaml deleted file mode 100644 index 15b1989..0000000 --- a/apps/charts/openwebui/templates/http-service.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: homelab.mortenolsen.pro/v1 -kind: HttpService -metadata: - name: "{{ .Release.Name }}" -spec: - environment: "{{ .Values.globals.environment }}" - subdomain: "{{ .Values.subdomain }}" - destination: - host: "{{ .Release.Name }}" - port: - number: 80 diff --git a/apps/charts/openwebui/templates/virtual-service.yaml b/apps/charts/openwebui/templates/virtual-service.yaml new file mode 100644 index 0000000..0af9b24 --- /dev/null +++ b/apps/charts/openwebui/templates/virtual-service.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.istio.io/v1 +kind: VirtualService +metadata: + name: "{{ .Release.Name }}" + namespace: "{{ .Release.Namespace }}" +spec: + gateways: + - "{{ .Values.globals.istio.gateway }}" + - mesh + hosts: + - "{{ .Values.subdomain }}.{{ .Values.globals.domain }}" + - mesh + http: + - route: + - destination: + host: "{{ .Release.Name }}" + port: + number: 80 diff --git a/apps/charts/penpot/templates/http-service.yaml b/apps/charts/penpot/templates/http-service.yaml deleted file mode 100644 index 7d2af99..0000000 --- a/apps/charts/penpot/templates/http-service.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: homelab.mortenolsen.pro/v1 -kind: HttpService -metadata: - name: "{{ .Release.Name }}" -spec: - environment: "{{ .Values.globals.environment }}" - subdomain: "{{ .Values.frontend.subdomain }}" - destination: - host: "{{ .Release.Name }}-frontend" - port: - number: 80 diff --git a/apps/charts/penpot/templates/virtual-service.yaml b/apps/charts/penpot/templates/virtual-service.yaml new file mode 100644 index 0000000..2187ab5 --- /dev/null +++ b/apps/charts/penpot/templates/virtual-service.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.istio.io/v1 +kind: VirtualService +metadata: + name: "{{ .Release.Name }}" + namespace: "{{ .Release.Namespace }}" +spec: + gateways: + - "{{ .Values.globals.istio.gateway }}" + - mesh + hosts: + - "{{ .Values.frontend.subdomain }}.{{ .Values.globals.domain }}" + - mesh + http: + - route: + - destination: + host: "{{ .Release.Name }}" + port: + number: 80 diff --git a/apps/charts/penpot/values.yaml b/apps/charts/penpot/values.yaml index d7577dd..f683836 100644 --- a/apps/charts/penpot/values.yaml +++ b/apps/charts/penpot/values.yaml @@ -1,9 +1,9 @@ frontend: + subdomain: penpot image: repository: penpotapp/frontend tag: 2.11.1@sha256:df67f79dfb8be3d7edf673aa66bc1ed8dc24ea534025f4ae156edba31a86a9fa pullPolicy: IfNotPresent - subdomain: penpot backend: image: repository: penpotapp/backend diff --git a/apps/charts/photoprism/templates/http-service.yaml b/apps/charts/photoprism/templates/http-service.yaml deleted file mode 100644 index 89df8bf..0000000 --- a/apps/charts/photoprism/templates/http-service.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: homelab.mortenolsen.pro/v1 -kind: HttpService -metadata: - name: "{{ .Release.Name }}" -spec: - environment: "{{ .Values.globals.environment }}" - subdomain: "{{ .Values.subdomain }}" - destination: - host: "{{ .Release.Name }}.{{ .Release.Namespace }}.svc.cluster.local" - port: - number: 80 diff --git a/apps/charts/photoprism/templates/virtual-service.yaml b/apps/charts/photoprism/templates/virtual-service.yaml new file mode 100644 index 0000000..0af9b24 --- /dev/null +++ b/apps/charts/photoprism/templates/virtual-service.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.istio.io/v1 +kind: VirtualService +metadata: + name: "{{ .Release.Name }}" + namespace: "{{ .Release.Namespace }}" +spec: + gateways: + - "{{ .Values.globals.istio.gateway }}" + - mesh + hosts: + - "{{ .Values.subdomain }}.{{ .Values.globals.domain }}" + - mesh + http: + - route: + - destination: + host: "{{ .Release.Name }}" + port: + number: 80 diff --git a/apps/charts/pigeon-pod.disabled/templates/http-service.yaml b/apps/charts/pigeon-pod.disabled/templates/http-service.yaml deleted file mode 100644 index 15b1989..0000000 --- a/apps/charts/pigeon-pod.disabled/templates/http-service.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: homelab.mortenolsen.pro/v1 -kind: HttpService -metadata: - name: "{{ .Release.Name }}" -spec: - environment: "{{ .Values.globals.environment }}" - subdomain: "{{ .Values.subdomain }}" - destination: - host: "{{ .Release.Name }}" - port: - number: 80 diff --git a/apps/charts/pigeon-pod.disabled/templates/virtual-service.yaml b/apps/charts/pigeon-pod.disabled/templates/virtual-service.yaml new file mode 100644 index 0000000..0af9b24 --- /dev/null +++ b/apps/charts/pigeon-pod.disabled/templates/virtual-service.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.istio.io/v1 +kind: VirtualService +metadata: + name: "{{ .Release.Name }}" + namespace: "{{ .Release.Namespace }}" +spec: + gateways: + - "{{ .Values.globals.istio.gateway }}" + - mesh + hosts: + - "{{ .Values.subdomain }}.{{ .Values.globals.domain }}" + - mesh + http: + - route: + - destination: + host: "{{ .Release.Name }}" + port: + number: 80 diff --git a/apps/charts/readeck/templates/http-service.yaml b/apps/charts/readeck/templates/http-service.yaml deleted file mode 100644 index 15b1989..0000000 --- a/apps/charts/readeck/templates/http-service.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: homelab.mortenolsen.pro/v1 -kind: HttpService -metadata: - name: "{{ .Release.Name }}" -spec: - environment: "{{ .Values.globals.environment }}" - subdomain: "{{ .Values.subdomain }}" - destination: - host: "{{ .Release.Name }}" - port: - number: 80 diff --git a/apps/charts/readeck/templates/virtual-service.yaml b/apps/charts/readeck/templates/virtual-service.yaml new file mode 100644 index 0000000..0af9b24 --- /dev/null +++ b/apps/charts/readeck/templates/virtual-service.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.istio.io/v1 +kind: VirtualService +metadata: + name: "{{ .Release.Name }}" + namespace: "{{ .Release.Namespace }}" +spec: + gateways: + - "{{ .Values.globals.istio.gateway }}" + - mesh + hosts: + - "{{ .Values.subdomain }}.{{ .Values.globals.domain }}" + - mesh + http: + - route: + - destination: + host: "{{ .Release.Name }}" + port: + number: 80 diff --git a/apps/charts/reservoir/templates/virtual-service.yaml b/apps/charts/reservoir/templates/virtual-service.yaml new file mode 100644 index 0000000..0af9b24 --- /dev/null +++ b/apps/charts/reservoir/templates/virtual-service.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.istio.io/v1 +kind: VirtualService +metadata: + name: "{{ .Release.Name }}" + namespace: "{{ .Release.Namespace }}" +spec: + gateways: + - "{{ .Values.globals.istio.gateway }}" + - mesh + hosts: + - "{{ .Values.subdomain }}.{{ .Values.globals.domain }}" + - mesh + http: + - route: + - destination: + host: "{{ .Release.Name }}" + port: + number: 80 diff --git a/apps/charts/siyuan.disabled/templates/http-service.yaml b/apps/charts/siyuan.disabled/templates/http-service.yaml deleted file mode 100644 index 15b1989..0000000 --- a/apps/charts/siyuan.disabled/templates/http-service.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: homelab.mortenolsen.pro/v1 -kind: HttpService -metadata: - name: "{{ .Release.Name }}" -spec: - environment: "{{ .Values.globals.environment }}" - subdomain: "{{ .Values.subdomain }}" - destination: - host: "{{ .Release.Name }}" - port: - number: 80 diff --git a/apps/charts/siyuan.disabled/templates/virtual-service.yaml b/apps/charts/siyuan.disabled/templates/virtual-service.yaml new file mode 100644 index 0000000..0af9b24 --- /dev/null +++ b/apps/charts/siyuan.disabled/templates/virtual-service.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.istio.io/v1 +kind: VirtualService +metadata: + name: "{{ .Release.Name }}" + namespace: "{{ .Release.Namespace }}" +spec: + gateways: + - "{{ .Values.globals.istio.gateway }}" + - mesh + hosts: + - "{{ .Values.subdomain }}.{{ .Values.globals.domain }}" + - mesh + http: + - route: + - destination: + host: "{{ .Release.Name }}" + port: + number: 80 diff --git a/apps/charts/vikunja/templates/http-service.yaml b/apps/charts/vikunja/templates/http-service.yaml deleted file mode 100644 index 89df8bf..0000000 --- a/apps/charts/vikunja/templates/http-service.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: homelab.mortenolsen.pro/v1 -kind: HttpService -metadata: - name: "{{ .Release.Name }}" -spec: - environment: "{{ .Values.globals.environment }}" - subdomain: "{{ .Values.subdomain }}" - destination: - host: "{{ .Release.Name }}.{{ .Release.Namespace }}.svc.cluster.local" - port: - number: 80 diff --git a/apps/charts/vikunja/templates/virtual-service.yaml b/apps/charts/vikunja/templates/virtual-service.yaml new file mode 100644 index 0000000..0af9b24 --- /dev/null +++ b/apps/charts/vikunja/templates/virtual-service.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.istio.io/v1 +kind: VirtualService +metadata: + name: "{{ .Release.Name }}" + namespace: "{{ .Release.Namespace }}" +spec: + gateways: + - "{{ .Values.globals.istio.gateway }}" + - mesh + hosts: + - "{{ .Values.subdomain }}.{{ .Values.globals.domain }}" + - mesh + http: + - route: + - destination: + host: "{{ .Release.Name }}" + port: + number: 80 diff --git a/apps/charts/zerobyte/templates/http-service.yaml b/apps/charts/zerobyte/templates/http-service.yaml deleted file mode 100644 index 15b1989..0000000 --- a/apps/charts/zerobyte/templates/http-service.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: homelab.mortenolsen.pro/v1 -kind: HttpService -metadata: - name: "{{ .Release.Name }}" -spec: - environment: "{{ .Values.globals.environment }}" - subdomain: "{{ .Values.subdomain }}" - destination: - host: "{{ .Release.Name }}" - port: - number: 80 diff --git a/apps/charts/zerobyte/templates/virtual-service.yaml b/apps/charts/zerobyte/templates/virtual-service.yaml new file mode 100644 index 0000000..0af9b24 --- /dev/null +++ b/apps/charts/zerobyte/templates/virtual-service.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.istio.io/v1 +kind: VirtualService +metadata: + name: "{{ .Release.Name }}" + namespace: "{{ .Release.Namespace }}" +spec: + gateways: + - "{{ .Values.globals.istio.gateway }}" + - mesh + hosts: + - "{{ .Values.subdomain }}.{{ .Values.globals.domain }}" + - mesh + http: + - route: + - destination: + host: "{{ .Release.Name }}" + port: + number: 80 diff --git a/apps/charts/zot/templates/http-service.yaml b/apps/charts/zot/templates/http-service.yaml deleted file mode 100644 index 15b1989..0000000 --- a/apps/charts/zot/templates/http-service.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: homelab.mortenolsen.pro/v1 -kind: HttpService -metadata: - name: "{{ .Release.Name }}" -spec: - environment: "{{ .Values.globals.environment }}" - subdomain: "{{ .Values.subdomain }}" - destination: - host: "{{ .Release.Name }}" - port: - number: 80 diff --git a/apps/charts/zot/templates/virtual-service.yaml b/apps/charts/zot/templates/virtual-service.yaml new file mode 100644 index 0000000..0af9b24 --- /dev/null +++ b/apps/charts/zot/templates/virtual-service.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.istio.io/v1 +kind: VirtualService +metadata: + name: "{{ .Release.Name }}" + namespace: "{{ .Release.Namespace }}" +spec: + gateways: + - "{{ .Values.globals.istio.gateway }}" + - mesh + hosts: + - "{{ .Values.subdomain }}.{{ .Values.globals.domain }}" + - mesh + http: + - route: + - destination: + host: "{{ .Release.Name }}" + port: + number: 80