Initial commit
This commit is contained in:
21
infrastructure/traefik-install/helmrelease.yaml
Normal file
21
infrastructure/traefik-install/helmrelease.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: traefik-release
|
||||
namespace: infrastructure
|
||||
spec:
|
||||
chart:
|
||||
spec:
|
||||
chart: traefik
|
||||
version: 39.0.0
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: traefik
|
||||
namespace: flux-system
|
||||
interval: 15m
|
||||
timeout: 10m
|
||||
releaseName: traefik
|
||||
valuesFrom:
|
||||
- kind: ConfigMap
|
||||
name: traefik-chart-overrides
|
||||
valuesKey: values.yaml
|
||||
25
infrastructure/traefik-install/traefik-override.yaml
Normal file
25
infrastructure/traefik-install/traefik-override.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
# Traefik Helm chart value overrides.
|
||||
# Replace <YOUR_LAN_CIDR> with your local network range (e.g. 192.168.1.0/24).
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: traefik-chart-overrides
|
||||
namespace: infrastructure
|
||||
data:
|
||||
values.yaml: |-
|
||||
deployment:
|
||||
enabled: true
|
||||
replicas: 1
|
||||
ingressClass:
|
||||
enabled: true
|
||||
isDefaultClass: true
|
||||
service:
|
||||
type: LoadBalancer
|
||||
ports:
|
||||
websecure:
|
||||
forwardedHeaders:
|
||||
trustedIPs:
|
||||
- <YOUR_LAN_CIDR>
|
||||
additionalArguments:
|
||||
- "--api.dashboard=true"
|
||||
- "--api.insecure=true"
|
||||
Reference in New Issue
Block a user