Skip to content

Commit

Permalink
[stable/traefik] Updated acme storage location to be configurable (he…
Browse files Browse the repository at this point in the history
…lm#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>
  • Loading branch information
ryaneorth authored and kengou committed Sep 18, 2019
1 parent 047df89 commit 907617d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion stable/traefik/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions stable/traefik/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` |
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 @@ -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 }}
Expand Down
1 change: 1 addition & 0 deletions stable/traefik/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 907617d

Please sign in to comment.