From bc56685869cfd60d39244e9df9e142ce81f993e1 Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Tue, 4 Mar 2025 06:31:41 -0600 Subject: [PATCH] update --- dmz/traefik/templates/traefik-dashboard.yaml | 36 ++++++++++++++------ 1 file changed, 25 insertions(+), 11 deletions(-) diff --git a/dmz/traefik/templates/traefik-dashboard.yaml b/dmz/traefik/templates/traefik-dashboard.yaml index eb7d667..6b62845 100644 --- a/dmz/traefik/templates/traefik-dashboard.yaml +++ b/dmz/traefik/templates/traefik-dashboard.yaml @@ -43,23 +43,13 @@ spec: - match: Host(`authentik.durp.info`) && PathPrefix(`/`) kind: Rule services: - - name: master-cluster + - name: infra-cluster port: 443 tls: secretName: authentik-tls --- -apiVersion: v1 -kind: Service -metadata: - name: authentik-server -spec: - type: ExternalName - externalName: authentik.durp.info - ---- - apiVersion: cert-manager.io/v1 kind: Certificate metadata: @@ -97,3 +87,27 @@ spec: - protocol: TCP port: 443 targetPort: 443 + +--- + +apiVersion: v1 +kind: Endpoints +metadata: + name: infra-cluster +subsets: + - addresses: + - ip: 192.168.12.130 + ports: + - port: 443 + +--- + +apiVersion: v1 +kind: Service +metadata: + name: infra-cluster +spec: + ports: + - protocol: TCP + port: 443 + targetPort: 443