From 0bd153d89a5d1441704cb84b6deb2b7a7b7b23e2 Mon Sep 17 00:00:00 2001 From: William P Date: Fri, 31 Oct 2025 13:54:44 -0400 Subject: [PATCH] add williamtpeebles.com --- .../cert-williamtpeebles-com.yaml | 11 +++++++ williamtpeebles-com/deployment.yaml | 24 ++++++++++++++ williamtpeebles-com/ingress.yaml | 33 +++++++++++++++++++ williamtpeebles-com/service.yaml | 11 +++++++ 4 files changed, 79 insertions(+) create mode 100644 williamtpeebles-com/cert-williamtpeebles-com.yaml create mode 100644 williamtpeebles-com/deployment.yaml create mode 100644 williamtpeebles-com/ingress.yaml create mode 100644 williamtpeebles-com/service.yaml diff --git a/williamtpeebles-com/cert-williamtpeebles-com.yaml b/williamtpeebles-com/cert-williamtpeebles-com.yaml new file mode 100644 index 0000000..3654a1f --- /dev/null +++ b/williamtpeebles-com/cert-williamtpeebles-com.yaml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: Secret +metadata: + name: cert-williamtpeebles-com + annotations: + replicator.v1.mittwald.de/replicate-from: cert-manager/cert-williamtpeebles-com + replicator.v1.mittwald.de/replicated-keys: tls.crt,tls.key +type: Opaque +data: + tls.crt: "" + tls.key: "" \ No newline at end of file diff --git a/williamtpeebles-com/deployment.yaml b/williamtpeebles-com/deployment.yaml new file mode 100644 index 0000000..46a0928 --- /dev/null +++ b/williamtpeebles-com/deployment.yaml @@ -0,0 +1,24 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: williamtpeebles-com +spec: + replicas: 3 + selector: + matchLabels: + app: williamtpeebles-com + template: + metadata: + labels: + app: williamtpeebles-com + spec: + containers: + - name: web + image: git.dubyatp.xyz/williamp/williamtpeebles-com:b184941 + resources: + limits: + memory: "1Gi" + cpu: "500m" + requests: + memory: "256Mi" + cpu: "500m" diff --git a/williamtpeebles-com/ingress.yaml b/williamtpeebles-com/ingress.yaml new file mode 100644 index 0000000..b15103c --- /dev/null +++ b/williamtpeebles-com/ingress.yaml @@ -0,0 +1,33 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: williamtpeebles-com-ingress + labels: + name: williamtpeebles-com-ingress +spec: + rules: + - host: dubyatp.xyz + http: + paths: + - pathType: Prefix + path: "/" + backend: + service: + name: williamtpeebles-com-svc + port: + number: 80 + - host: www.dubyatp.xyz + http: + paths: + - pathType: Prefix + path: "/" + backend: + service: + name: williamtpeebles-com-svc + port: + number: 80 + tls: + - hosts: + - dubyatp.xyz + - www.dubyatp.xyz + secretName: cert-williamtpeebles-com \ No newline at end of file diff --git a/williamtpeebles-com/service.yaml b/williamtpeebles-com/service.yaml new file mode 100644 index 0000000..07917e2 --- /dev/null +++ b/williamtpeebles-com/service.yaml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: Service +metadata: + name: williamtpeebles-com-svc +spec: + selector: + app: williamtpeebles-com + ports: + - port: 80 + targetPort: 3000 + type: ClusterIP