This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
homelab/kubernetes/infrastructure/traefik/traefik.yaml

96 lines
1.9 KiB
YAML
Raw Normal View History

2024-09-21 21:47:49 +01:00
---
2024-09-21 23:10:37 +01:00
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
2024-09-21 21:47:49 +01:00
metadata:
name: traefik
2024-09-21 23:25:39 +01:00
namespace: traefik
2024-09-21 21:47:49 +01:00
spec:
interval: 5m0s
2024-09-21 23:10:37 +01:00
url: https://helm.traefik.io/traefik
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: traefik
2024-09-21 23:25:39 +01:00
namespace: traefik
spec:
2024-09-21 23:49:12 +01:00
interval: 30m
chart:
2024-09-21 21:47:49 +01:00
spec:
chart: traefik
version: "32.0.0"
sourceRef:
kind: HelmRepository
name: traefik
2024-09-21 23:49:12 +01:00
namespace: traefik
interval: 12h
2024-09-21 23:50:50 +01:00
values:
globalArguments:
- "--global.sendanonymoususage=false"
- "--global.checknewversion=false"
additionalArguments:
- "--serversTransport.insecureSkipVerify=true"
- "--providers.kubernetescrd.allowCrossNamespace=true"
2024-09-23 10:44:44 +01:00
- "--log.level=INFO"
#- "--accesslog=true"
2024-09-23 09:11:37 +01:00
resources:
2024-09-23 10:15:35 +01:00
requests:
2024-09-23 20:55:06 +01:00
cpu: 50m
memory: 256Mi
2024-09-23 10:15:35 +01:00
limits:
2024-09-23 20:55:06 +01:00
cpu: 200m
memory: 512Mi # Update when traefik fixes their shitty mem leak
2024-09-23 09:11:37 +01:00
# Disable metrics
2024-09-23 10:47:38 +01:00
metrics:
prometheus: null
deployment:
enabled: true
replicas: 1
annotations: {}
podAnnotations: {}
additionalContainers: []
initContainers: []
ports:
web:
redirectTo:
port: websecure
priority: 10
websecure:
tls:
enabled: true
ingressRoute:
dashboard:
enabled: false
2024-09-21 21:47:49 +01:00
providers:
kubernetesCRD:
enabled: true
ingressClass: traefik-external
allowExternalNameServices: true
allowCrossNamespace: true
kubernetesIngress:
enabled: true
allowExternalNameServices: true
allowCrossNamespace: true
publishedService:
enabled: false
2024-09-21 21:47:49 +01:00
rbac:
enabled: true
2024-09-21 21:47:49 +01:00
service:
enabled: true
type: LoadBalancer
annotations: {}
labels: {}
spec:
2024-09-22 00:42:19 +01:00
loadBalancerIP: 10.0.69.250
loadBalancerSourceRanges: []
externalIPs: []