From 98865551e7cba0276a9b52b12e250443ef571a70 Mon Sep 17 00:00:00 2001 From: "ryan-distrust.co" Date: Tue, 25 Mar 2025 01:47:25 -0400 Subject: [PATCH] add qvs.distrust.co domain --- kustomizations/website/docs.yaml | 33 +++++++++++++++++++++++++++++ kustomizations/website/ingress.yaml | 26 +++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/kustomizations/website/docs.yaml b/kustomizations/website/docs.yaml index f0dc36a..60977a3 100644 --- a/kustomizations/website/docs.yaml +++ b/kustomizations/website/docs.yaml @@ -30,3 +30,36 @@ spec: targetPort: 8080 selector: app: docs +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: docs-qvs +spec: + replicas: 2 + selector: + matchLabels: + app: docs-qvs + template: + metadata: + labels: + app: docs-qvs + spec: + containers: + - name: docs-qvs + image: git.distrust.co/public/docs-qvs + imagePullPolicy: Always + ports: + - containerPort: 8080 +--- +apiVersion: v1 +kind: Service +metadata: + name: docs-qvs +spec: + ports: + - name: http + port: 80 + targetPort: 8080 + selector: + app: docs-qvs diff --git a/kustomizations/website/ingress.yaml b/kustomizations/website/ingress.yaml index d541f56..7c3a54a 100644 --- a/kustomizations/website/ingress.yaml +++ b/kustomizations/website/ingress.yaml @@ -70,3 +70,29 @@ spec: - hosts: - docs.distrust.co secretName: docs-tls +--- +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: docs-qvs + annotations: + cert-manager.io/cluster-issuer: letsencrypt + external-dns.alpha.kubernetes.io/hostname: qvs.distrust.co + nginx.ingress.kubernetes.io/enable-cors: "true" +spec: + ingressClassName: nginx + rules: + - host: qvs.distrust.co + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: docs-qvs + port: + number: 80 + tls: + - hosts: + - qvs.distrust.co + secretName: docs-qvs-tls