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

92 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:
2024-09-21 23:31:28 +01:00
interval: 12h
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
2024-09-23 09:08:17 +01:00
version: "31.1.1"
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"
- "--log.level=INFO"
- "--providers.kubernetescrd.allowCrossNamespace=true"
2024-09-22 00:53:50 +01:00
- "--accesslog=true"
2024-09-23 09:11:37 +01:00
resources:
2024-09-23 10:15:35 +01:00
requests:
2024-09-23 09:11:37 +01:00
cpu: 100m
memory: 128Mi
2024-09-23 10:15:35 +01:00
limits:
cpu: 1000m # 1 vCPU
memory: 1024Mi # Update when traefik fixes their shitty mem leak
2024-09-23 09:11:37 +01:00
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: []