From 62bcfb217c1c2e83ae2c67e64c9e7b99ebaa8aa8 Mon Sep 17 00:00:00 2001 From: William P Date: Mon, 3 Mar 2025 20:25:24 -0500 Subject: [PATCH] add frenworld archive --- .../cert-frenworld-archive-io.yaml | 11 +++++++ frenworld-archive/deployment.yaml | 20 +++++++++++ frenworld-archive/ingress.yaml | 33 +++++++++++++++++++ frenworld-archive/service.yaml | 11 +++++++ 4 files changed, 75 insertions(+) create mode 100644 frenworld-archive/cert-frenworld-archive-io.yaml create mode 100644 frenworld-archive/deployment.yaml create mode 100644 frenworld-archive/ingress.yaml create mode 100644 frenworld-archive/service.yaml diff --git a/frenworld-archive/cert-frenworld-archive-io.yaml b/frenworld-archive/cert-frenworld-archive-io.yaml new file mode 100644 index 0000000..b0161bf --- /dev/null +++ b/frenworld-archive/cert-frenworld-archive-io.yaml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: Secret +metadata: + name: cert-frenworld-archive-io + annotations: + replicator.v1.mittwald.de/replicate-from: cert-manager/cert-frenworld-archive-io + replicator.v1.mittwald.de/replicated-keys: tls.crt,tls.key +type: Opaque +data: + tls.crt: "" + tls.key: "" diff --git a/frenworld-archive/deployment.yaml b/frenworld-archive/deployment.yaml new file mode 100644 index 0000000..2358627 --- /dev/null +++ b/frenworld-archive/deployment.yaml @@ -0,0 +1,20 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: frenworld-archive +spec: + selector: + matchLabels: + app: frenworld-archive + template: + metadata: + labels: + app: frenworld-archive + spec: + containers: + - name: web + image: git.dubyatp.xyz/williamp/frenworld-archive:adhocbuild-03032025 + resources: + limits: + memory: "128Mi" + cpu: "500m" diff --git a/frenworld-archive/ingress.yaml b/frenworld-archive/ingress.yaml new file mode 100644 index 0000000..75027cc --- /dev/null +++ b/frenworld-archive/ingress.yaml @@ -0,0 +1,33 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: frenworld-archive-ingress + labels: + name: frenworld-archive-ingress +spec: + rules: + - host: frenworld-archive.io + http: + paths: + - pathType: Prefix + path: "/" + backend: + service: + name: frenworld-archive-svc + port: + number: 80 + - host: www.frenworld-archive.io + http: + paths: + - pathType: Prefix + path: "/" + backend: + service: + name: frenworld-archive-svc + port: + number: 80 + tls: + - hosts: + - frenworld-archive.io + - www.frenworld-archive.io + secretName: cert-frenworld-archive-io \ No newline at end of file diff --git a/frenworld-archive/service.yaml b/frenworld-archive/service.yaml new file mode 100644 index 0000000..388a583 --- /dev/null +++ b/frenworld-archive/service.yaml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: Service +metadata: + name: frenworld-archive-svc +spec: + selector: + app: frenworld-archive + ports: + - port: 80 + targetPort: 80 + type: ClusterIP