diff --git a/stable/traefik/Chart.yaml b/stable/traefik/Chart.yaml index 53c436b41e..344c661b17 100644 --- a/stable/traefik/Chart.yaml +++ b/stable/traefik/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: traefik -version: 1.69.2 +version: 1.70.0 appVersion: 1.7.12 description: A Traefik based Kubernetes ingress controller with Let's Encrypt support keywords: diff --git a/stable/traefik/README.md b/stable/traefik/README.md index a5f1abf355..9744789085 100644 --- a/stable/traefik/README.md +++ b/stable/traefik/README.md @@ -187,6 +187,7 @@ The following table lists the configurable parameters of the Traefik chart and t | `kubernetes.ingressEndpoint.ip` | Desired static IP to update for ingress status spec | None | | `kubernetes.ingressEndpoint.publishedService` | Desired `namespace/service` to source ingress status spec from | None | | `kubernetes.ingressEndpoint.useDefaultPublishedService` | Whether to source `namespace/service` status spec from the service created by this chart. Mutually exclusive with `kubernetes.ingressEndpoint.publishedService` | None | +| `fileBackend` | File Backend configuration | None | | `accessLogs.enabled` | Whether to enable Traefik's access logs | `false` | | `accessLogs.filePath` | The path to the log file. Logs to stdout if omitted | None | | `accessLogs.format` | What format the log entries should be in. Either `common` or `json` | `common` | diff --git a/stable/traefik/templates/configmap.yaml b/stable/traefik/templates/configmap.yaml index 4acad2c8d5..9a8e3a7800 100644 --- a/stable/traefik/templates/configmap.yaml +++ b/stable/traefik/templates/configmap.yaml @@ -173,6 +173,10 @@ data: {{- end}} {{- end}} {{- end}} + {{- if .Values.fileBackend }} + [file] + {{- .Values.fileBackend | nindent 4 }} + {{- end }} {{- if .Values.traefikLogFormat }} [traefikLog] format = {{ .Values.traefikLogFormat | quote }} diff --git a/stable/traefik/values.yaml b/stable/traefik/values.yaml index 31c5b30a0b..f9f11c4a14 100644 --- a/stable/traefik/values.yaml +++ b/stable/traefik/values.yaml @@ -62,6 +62,23 @@ tolerations: [] # ip: "127.0.0.1" # publishedService: "namespace/servicename" # useDefaultPublishedService: false + +fileBackend: "" + # as in same traefik.toml + # + # [backends] + # [backends.backend1] + # # ... + # [backends.backend2] + # # ... + # [frontends] + # [frontends.frontend1] + # # ... + # [frontends.frontend2] + # + # or separated file from configFiles + # filename = "/configs/rules.toml" + proxyProtocol: enabled: false # trustedIPs is required when enabled