[stable/traefik] Add File Backend (#14585)

* Add File Backend

Signed-off-by: Dat Truong <mr.anhdat@gmail.com>

* Bump version

Signed-off-by: Dat Truong <mr.anhdat@gmail.com>

* Bump minor version

Signed-off-by: Dat Truong <mr.anhdat@gmail.com>
This commit is contained in:
Dat Truong
2019-06-27 16:51:34 -07:00
committed by Kubernetes Prow Robot
parent 58cb8b1326
commit 26e078e147
4 changed files with 23 additions and 1 deletions
+1 -1
View File
@@ -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:
+1
View File
@@ -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` |
+4
View File
@@ -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 }}
+17
View File
@@ -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