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/apps/production/traefik/traefik.yaml

97 lines
2.0 KiB
YAML
Raw Normal View History

2024-09-21 20:47:49 +00:00
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRepository
2024-09-21 20:47:49 +00:00
metadata:
name: traefik
namespace: traefik-production
2024-09-21 20:47:49 +00:00
spec:
interval: 1m0s
url: https://helm.traefik.io/traefik---
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: traefik
namespace: traefik-production
spec:
chart:
2024-09-21 20:47:49 +00:00
spec:
chart: traefik
sourceRef:
kind: HelmRepository
name: traefik
version: 31.1.1
interval: 1m0s
releaseName: traefik
targetNamespace: default
valuesFrom:
- kind: Secret
name: traefik-secret
---
apiVersion: v1
kind: Secret
metadata:
creationTimestamp: null
name: traefik-secret
namespace: traefik-production
stringData:
values.yaml: |
globalArguments:
- "--global.sendanonymoususage=false"
- "--global.checknewversion=false"
additionalArguments:
- "--serversTransport.insecureSkipVerify=true"
- "--log.level=INFO"
- "--providers.kubernetescrd.allowCrossNamespace=true"
deployment:
enabled: true
replicas: 1
annotations: {}
podAnnotations: {}
additionalContainers: []
initContainers: []
ports:
web:
redirectTo:
port: websecure
priority: 10
websecure:
# http3:
# enabled: true
# advertisedPort: 4443
tls:
enabled: true
ingressRoute:
dashboard:
enabled: false
2024-09-21 20:47:49 +00: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 20:47:49 +00:00
rbac:
enabled: true
2024-09-21 20:47:49 +00:00
service:
enabled: true
type: LoadBalancer
annotations: {}
labels: {}
spec:
loadBalancerIP: 10.0.69.250 # this should be an IP in the MetalLB range
loadBalancerSourceRanges: []
externalIPs: []