From 1794545d8668ea6f0d1d9cf2d6f81643a2b11e5a Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Fri, 1 Mar 2024 04:48:54 -0600 Subject: [PATCH] Update internalproxy/templates/guac.yaml --- internalproxy/templates/guac.yaml | 64 ++++++++++++++++++++++++++++++- 1 file changed, 63 insertions(+), 1 deletion(-) diff --git a/internalproxy/templates/guac.yaml b/internalproxy/templates/guac.yaml index 8fbac4b..a69b685 100644 --- a/internalproxy/templates/guac.yaml +++ b/internalproxy/templates/guac.yaml @@ -6,4 +6,66 @@ metadata: external-dns.alpha.kubernetes.io/hostname: guac.durp.info spec: type: ExternalName - externalName: durp.info \ No newline at end of file + externalName: durp.info + +--- + +apiVersion: v1 +kind: Service +metadata: + name: guac +spec: + ports: + - name: app + port: 8082 + protocol: TCP + targetPort: 8082 + clusterIP: None + type: ClusterIP + +--- + +apiVersion: v1 +kind: Endpoints +metadata: + name: guac +subsets: +- addresses: + - ip: 192.168.20.253 + ports: + - name: app + port: 8082 + protocol: TCP + +--- + +apiVersion: traefik.containo.us/v1alpha1 +kind: IngressRoute +metadata: + name: guac-ingress +spec: + entryPoints: + - websecure + routes: + - match: Host(`guac.durp.info`) && PathPrefix(`/`) + kind: Rule + services: + - name: guac + port: 8082 + tls: + secretName: guac-tls + +--- + +apiVersion: cert-manager.io/v1 +kind: Certificate +metadata: + name: guac-tls +spec: + secretName: guac-tls + issuerRef: + name: letsencrypt-production + kind: ClusterIssuer + commonName: "guac.durp.info" + dnsNames: + - "guac.durp.info" \ No newline at end of file