k3s-cluster/kubernetes/common/apps/traefik/app/helm-release.yaml

88 lines
1.7 KiB
YAML
Raw Normal View History

apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
2023-04-03 02:45:20 +00:00
name: traefik
namespace: traefik
spec:
interval: 5m
chart:
spec:
chart: traefik
version: '31.1.0'
sourceRef:
kind: HelmRepository
2023-04-02 18:26:12 +00:00
name: traefik-charts
namespace: flux-system
interval: 1m
2023-04-02 19:18:48 +00:00
values:
additionalArguments:
- --api.insecure
logs:
general:
level: DEBUG
2023-04-05 03:16:00 +00:00
providers:
kubernetesCRD:
enabled: true
allowCrossNamespace: false
allowExternalNameServices: false
allowEmptyServices: false
namespaces: []
kubernetesIngress:
enabled: true
allowExternalNameServices: false
allowEmptyServices: false
namespaces: []
publishedService:
enabled: false
2023-04-02 19:18:48 +00:00
ports:
2023-04-03 02:45:20 +00:00
traefik:
port: 9000
expose:
default: false
2023-04-03 02:45:20 +00:00
exposedPort: 9000
protocol: TCP
2023-04-02 19:18:48 +00:00
web:
2023-04-03 02:45:20 +00:00
port: 8000
nodePort: 30080
expose:
default: true
redirectTo:
port: websecure
2023-04-03 02:45:20 +00:00
protocol: TCP
2023-04-02 19:18:48 +00:00
websecure:
2023-04-03 02:45:20 +00:00
port: 8443
nodePort: 30443
expose:
default: true
2023-04-03 02:45:20 +00:00
protocol: TCP
2023-04-02 19:18:48 +00:00
tls:
enabled: true
2023-04-03 02:45:20 +00:00
metrics:
port: 9100
expose:
default: false
2023-04-03 02:45:20 +00:00
protocol: TCP
2023-04-02 19:18:48 +00:00
# Disable Dashboard
ingressRoute:
dashboard:
enabled: false
2023-04-02 19:18:48 +00:00
# Set Traefik as your default Ingress Controller, according to Kubernetes 1.19+ changes.
ingressClass:
enabled: true
isDefaultClass: true
2023-04-03 02:45:20 +00:00
metrics:
prometheus:
entryPoint: metrics
2023-04-02 19:18:48 +00:00
namespaceOverride: traefik