From 30830a61203d62e9c72102f4b52df9fe2736c000 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Sun, 2 Apr 2023 20:01:37 -0400 Subject: [PATCH] Change traefik values --- cluster/apps/traefik/traefik-values.yaml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/cluster/apps/traefik/traefik-values.yaml b/cluster/apps/traefik/traefik-values.yaml index 59e15b3..fbecf85 100644 --- a/cluster/apps/traefik/traefik-values.yaml +++ b/cluster/apps/traefik/traefik-values.yaml @@ -19,11 +19,17 @@ ports: # The port protocol (TCP/UDP) protocol: TCP web: + port: 8000 expose: true + exposedPort: 80 # (optional) Permanent Redirect to HTTPS # redirectTo: websecure + protocol: TCP websecure: - exposed: true + port: 8443 + expose: true + exposedPort: 443 + protocol: TCP tls: enabled: true certResolver: cloudflare @@ -33,6 +39,12 @@ ports: exposedPort: 9100 protocol: TCP +service: + enabled: true + single: true + type: LoadBalancer + externalIPs: + - 192.168.87.10 env: - name: CF_DNS_API_TOKEN @@ -45,6 +57,8 @@ env: ingressRoute: dashboard: enabled: true + matchRule: PathPrefix(`/dashboard`) || PathPrefix(`/api`) + entryPoints: ["traefik"] # Persistent Storage persistence: @@ -69,4 +83,8 @@ ingressClass: enabled: true isDefaultClass: true +metrics: + prometheus: + entryPoint: metrics + namespaceOverride: traefik