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