Add option to log acme debug messages (#3085)

* Add option to log acme debug messages

* Bump minor version to reflect new logging feature

* Update Chart.yaml
This commit is contained in:
Ramon Tayag
2018-01-06 04:55:12 -08:00
committed by k8s-ci-robot
parent bd48ed8666
commit 7e4a656f7d
4 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: traefik
version: 1.15.0
version: 1.15.1
appVersion: 1.4.5
description: A Traefik based Kubernetes ingress controller with Let's Encrypt support
keywords:
+1
View File
@@ -106,6 +106,7 @@ The following tables lists the configurable parameters of the Traefik chart and
| `acme.enabled` | Whether to use Let's Encrypt to obtain certificates | `false` |
| `acme.email` | Email address to be used in certificates obtained from Let's Encrypt | `admin@example.com` |
| `acme.staging` | Whether to get certs from Let's Encrypt's staging environment | `true` |
| `acme.logging` | display debug log messages from the acme client library | `false` |
| `acme.persistence.enabled` | Create a volume to store ACME certs (if ACME is enabled) | `true` |
| `acme.persistence.storageClass` | Type of `StorageClass` to request-- will be cluster-specific | `nil` (uses alpha storage class annotation) |
| `acme.persistence.accessMode` | `ReadWriteOnce` or `ReadOnly` | `ReadWriteOnce` |
+3
View File
@@ -71,6 +71,9 @@ data:
{{- if .Values.acme.staging }}
caServer = "https://acme-staging.api.letsencrypt.org/directory"
{{- end }}
{{- if .Values.acme.logging }}
acmeLogging = true
{{- end }}
{{- end }}
{{- if .Values.dashboard.enabled }}
[web]
+1
View File
@@ -33,6 +33,7 @@ acme:
enabled: false
email: admin@example.com
staging: true
logging: false
## Save ACME certs to a persistent volume. WARNING: If you do not do this, you will re-request
## certs every time a pod (re-)starts and you WILL be rate limited!
persistence: