[stable/traefik] Updated acme storage location to be configurable (#16464)

* [stable/traefik] Updated acme storage location to be configurable

Signed-off-by: Ryan Orth <ryanorth@workfront.com>

* Fixed wrong version update
Signed-off-by: Ryan Orth <ryanorth@workfront.com>
This commit is contained in:
ryaneorth
2019-09-11 14:48:35 -07:00
committed by Kubernetes Prow Robot
parent e95673c89a
commit 4a8d788986
4 changed files with 5 additions and 2 deletions
+2 -1
View File
@@ -1,7 +1,8 @@
apiVersion: v1
name: traefik
version: 1.77.5
version: 1.78.0
appVersion: 1.7.14
description: A Traefik based Kubernetes ingress controller with Let's Encrypt support
keywords:
- traefik
+1
View File
@@ -161,6 +161,7 @@ The following table lists the configurable parameters of the Traefik chart and t
| `acme.persistence.existingClaim` | An Existing PVC name | `nil` |
| `acme.persistence.size` | Minimum size of the volume requested | `1Gi` |
| `kvprovider.storeAcme` | Store acme certificates in KV Provider (needed for [HA](https://docs.traefik.io/configuration/acme/#as-a-key-value-store-entry)) | `false` |
| `kvprovider.acmeStorageLocation` | Path for storing acme data | `traefik/acme/account` |
| `kvprovider.importAcme` | Import acme certificates from acme.json of a mounted pvc (see: acme.persistence.existingClaim) | `false` |
| `kvprovider.$name.endpoint` | Endpoint of the provider like \<kv-provider-fqdn>:\<port> | None |
| `kvprovider.$name.watch` | Wether traefik should watch for changes | `true` |
+1 -1
View File
@@ -272,7 +272,7 @@ data:
KeyType = {{ .Values.acme.keyType | quote }}
email = {{ .Values.acme.email | quote }}
{{- if .Values.kvprovider.storeAcme }}
storage = "traefik/acme/account"
storage = "{{ .Values.kvprovider.acmeStorageLocation }}"
{{- if .Values.kvprovider.importAcme }}
storageFile = "/acme/acme.json"
{{- end }}
+1
View File
@@ -162,6 +162,7 @@ kvprovider:
## storeAcme has to be enabled to support HA Support using acme, but at least one kvprovider is needed
storeAcme: false
acmeStorageLocation: traefik/acme/account
importAcme: false
# etcd: