From 0c7b117eec24f84b826737fdc3dfa5af6c71a238 Mon Sep 17 00:00:00 2001 From: roukydesbois Date: Tue, 22 Oct 2024 14:38:11 +0100 Subject: [PATCH] Added missing stuff for nextcloud truecharts --- nextcloud-truechart/templates/ts-ingress.yaml | 16 ++++++++++++++++ nextcloud-truechart/values.yaml | 4 ++++ 2 files changed, 20 insertions(+) create mode 100644 nextcloud-truechart/templates/ts-ingress.yaml diff --git a/nextcloud-truechart/templates/ts-ingress.yaml b/nextcloud-truechart/templates/ts-ingress.yaml new file mode 100644 index 0000000..5432180 --- /dev/null +++ b/nextcloud-truechart/templates/ts-ingress.yaml @@ -0,0 +1,16 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: ts-nextcloud + annotations: + tailscale.com/funnel: "{{ .Values.tailscaleIngress.funnel }}" +spec: + defaultBackend: + service: + name: main + port: + number: 8080 + ingressClassName: tailscale + tls: + - hosts: + - "{{ .Values.tailscaleIngress.host }}" diff --git a/nextcloud-truechart/values.yaml b/nextcloud-truechart/values.yaml index abb4e59..d772307 100644 --- a/nextcloud-truechart/values.yaml +++ b/nextcloud-truechart/values.yaml @@ -1,3 +1,7 @@ +tailscaleIngress: + host: nextcloud-tc + funnel: "false" + nextcloud: nextcloud: credentials: