Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
[stable/traefik] Updated acme storage location to be configurable
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Orth <ryanorth@workfront.com>
  • Loading branch information
wf-ryanorth committed Aug 20, 2019
1 parent 0238e09 commit b1564db
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stable/traefik/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: traefik
version: 1.66.0
version: 1.67.0
appVersion: 1.7.9
description: A Traefik based Kubernetes ingress controller with Let's Encrypt support
keywords:
Expand Down
1 change: 1 addition & 0 deletions stable/traefik/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,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` |
Expand Down
2 changes: 1 addition & 1 deletion stable/traefik/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ data:
[acme]
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 }}
Expand Down
1 change: 1 addition & 0 deletions stable/traefik/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,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:
Expand Down

0 comments on commit b1564db

Please sign in to comment.