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: