diff --git a/attic/cert-dubyatp-xyz.yaml b/attic/cert-dubyatp-xyz.yaml deleted file mode 100644 index 5bf57b8..0000000 --- a/attic/cert-dubyatp-xyz.yaml +++ /dev/null @@ -1,10 +0,0 @@ -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" -data: - tls.crt: "" - tls.key: "" \ No newline at end of file diff --git a/attic/gateway.yaml b/attic/gateway.yaml new file mode 100644 index 0000000..40206de --- /dev/null +++ b/attic/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 diff --git a/attic/httproute.yaml b/attic/httproute.yaml new file mode 100644 index 0000000..633cd3a --- /dev/null +++ b/attic/httproute.yaml @@ -0,0 +1,19 @@ +apiVersion: gateway.networking.k8s.io/v1 +kind: HTTPRoute +metadata: + name: attic +spec: + parentRefs: + - name: traefik + sectionName: https + kind: Gateway + hostnames: + - nix-cache.dubyatp.xyz + rules: + - matches: + - path: + type: PathPrefix + value: / + backendRefs: + - name: attic-svc + port: 8080 \ No newline at end of file