From 7dc5b18a137be1129b46ac7317598598199a8b0a Mon Sep 17 00:00:00 2001 From: William P Date: Mon, 3 Mar 2025 19:50:59 -0500 Subject: [PATCH] add dubyatp.xyz --- dubyatp-xyz/cert-dubyatp-xyz.yaml | 11 +++++++++++ dubyatp-xyz/deployment.yaml | 20 ++++++++++++++++++++ dubyatp-xyz/ingress.yaml | 22 ++++++++++++++++++++++ dubyatp-xyz/service.yaml | 11 +++++++++++ 4 files changed, 64 insertions(+) create mode 100644 dubyatp-xyz/cert-dubyatp-xyz.yaml create mode 100644 dubyatp-xyz/deployment.yaml create mode 100644 dubyatp-xyz/ingress.yaml create mode 100644 dubyatp-xyz/service.yaml diff --git a/dubyatp-xyz/cert-dubyatp-xyz.yaml b/dubyatp-xyz/cert-dubyatp-xyz.yaml new file mode 100644 index 0000000..beb2d93 --- /dev/null +++ b/dubyatp-xyz/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 +data: + tls.crt: "" + tls.key: "" diff --git a/dubyatp-xyz/deployment.yaml b/dubyatp-xyz/deployment.yaml new file mode 100644 index 0000000..70b2408 --- /dev/null +++ b/dubyatp-xyz/deployment.yaml @@ -0,0 +1,20 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: dubyatp-xyz +spec: + selector: + matchLabels: + app: dubyatp-xyz + template: + metadata: + labels: + app: dubyatp-xyz + spec: + containers: + - name: web + image: git.dubyatp.xyz/williamp/dubyatp-xyz:adhocbuild-03032025 + resources: + limits: + memory: "128Mi" + cpu: "500m" diff --git a/dubyatp-xyz/ingress.yaml b/dubyatp-xyz/ingress.yaml new file mode 100644 index 0000000..9d15ba7 --- /dev/null +++ b/dubyatp-xyz/ingress.yaml @@ -0,0 +1,22 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: dubyatp-xyz-ingress + labels: + name: dubyatp-xyz-ingress +spec: + rules: + - host: dubyatp.xyz + http: + paths: + - pathType: Prefix + path: "/" + backend: + service: + name: dubyatp-xyz-svc + port: + number: 80 + tls: + - hosts: + - dubyatp.xyz + secretName: cert-dubyatp-xyz \ No newline at end of file diff --git a/dubyatp-xyz/service.yaml b/dubyatp-xyz/service.yaml new file mode 100644 index 0000000..eaef446 --- /dev/null +++ b/dubyatp-xyz/service.yaml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: Service +metadata: + name: dubyatp-xyz-svc +spec: + selector: + app: dubyatp-xyz + ports: + - port: 80 + targetPort: 80 + type: ClusterIP