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