From c07ddcf59ad2fd51e48a9dcf1c5e9e5835dcd4f6 Mon Sep 17 00:00:00 2001 From: William P Date: Sat, 28 Nov 2026 12:11:03 -0500 Subject: [PATCH] nextcloud: add gateway and cert-dubyatp-xyz to helm templates --- nextcloud/templates/cert-dubyatp-xyz.yaml | 11 +++++++++++ nextcloud/templates/gateway.yaml | 18 ++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 nextcloud/templates/cert-dubyatp-xyz.yaml create mode 100644 nextcloud/templates/gateway.yaml diff --git a/nextcloud/templates/cert-dubyatp-xyz.yaml b/nextcloud/templates/cert-dubyatp-xyz.yaml new file mode 100644 index 0000000..479b45e --- /dev/null +++ b/nextcloud/templates/cert-dubyatp-xyz.yaml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: Secret +metadata: + name: cert-dubyatp-xyz + annotations: + replicator.v1.mittwald.de/replicate-from: cert-manager/cert-dubyatp-xyz + replicator.v1.mittwald.de/replicated-keys: tls.crt,tls.key +type: Opaque +stringData: + tls.crt: "" + tls.key: "" \ No newline at end of file diff --git a/nextcloud/templates/gateway.yaml b/nextcloud/templates/gateway.yaml new file mode 100644 index 0000000..40206de --- /dev/null +++ b/nextcloud/templates/gateway.yaml @@ -0,0 +1,18 @@ +apiVersion: gateway.networking.k8s.io/v1 +kind: Gateway +metadata: + name: traefik +spec: + gatewayClassName: traefik + listeners: + - name: https + protocol: HTTPS + port: 8443 + tls: + mode: Terminate + certificateRefs: + - name: cert-dubyatp-xyz + namespace: cert-manager + allowedRoutes: + namespaces: + from: Same \ No newline at end of file