add frenworld archive

This commit is contained in:
2025-03-03 20:25:24 -05:00
parent 5d9c4a33a5
commit 62bcfb217c
4 changed files with 75 additions and 0 deletions

View File

@@ -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: ""

View File

@@ -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"

View File

@@ -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

View File

@@ -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