From 64b4d9b0b8f9823bcf775b2f14057c0f506a36f5 Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Sun, 20 Apr 2025 11:20:46 -0500 Subject: [PATCH] update --- dmz/internalproxy/templates/octopus.yaml | 42 ++++++++++++++++++++++ infra/octopusdeploy/templates/ingress.yaml | 32 +++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 dmz/internalproxy/templates/octopus.yaml create mode 100644 infra/octopusdeploy/templates/ingress.yaml diff --git a/dmz/internalproxy/templates/octopus.yaml b/dmz/internalproxy/templates/octopus.yaml new file mode 100644 index 0000000..4e86f71 --- /dev/null +++ b/dmz/internalproxy/templates/octopus.yaml @@ -0,0 +1,42 @@ +apiVersion: traefik.io/v1alpha1 +kind: IngressRoute +metadata: + name: octopus-ingress +spec: + entryPoints: + - websecure + routes: + - match: Host(`octopus.durp.info`) && PathPrefix(`/`) + kind: Rule + services: + - name: infra-cluster + port: 443 + tls: + secretName: octopus-tls + +--- + +apiVersion: cert-manager.io/v1 +kind: Certificate +metadata: + name: octopus-tls +spec: + issuerRef: + name: letsencrypt-production + kind: ClusterIssuer + secretName: octopus-tls + commonName: "octopus.durp.info" + dnsNames: + - "octopus.durp.info" + +--- + +kind: Service +apiVersion: v1 +metadata: + name: octopus-external-dns + annotations: + external-dns.alpha.kubernetes.io/hostname: octopus.durp.info +spec: + type: ExternalName + externalName: durp.info diff --git a/infra/octopusdeploy/templates/ingress.yaml b/infra/octopusdeploy/templates/ingress.yaml new file mode 100644 index 0000000..e399ae8 --- /dev/null +++ b/infra/octopusdeploy/templates/ingress.yaml @@ -0,0 +1,32 @@ +apiVersion: traefik.io/v1alpha1 +kind: IngressRoute +metadata: + name: octopus-ingress + annotations: + cert-manager.io/cluster-issuer: letsencrypt-production +spec: + entryPoints: + - websecure + routes: + - match: Host(`octopus.durp.info`) && PathPrefix(`/`) + kind: Rule + services: + - name: octopusdeploy-octopus-deploy + port: 80 + tls: + secretName: octopus-tls + +--- + +apiVersion: cert-manager.io/v1 +kind: Certificate +metadata: + name: octopus-tls +spec: + secretName: octopus-tls + issuerRef: + name: vault-issuer + kind: ClusterIssuer + commonName: "octopus.durp.info" + dnsNames: + - "octopus.durp.info"