Skip to content

Commit

Permalink
feat: now compatible with traefik 1.5 Let's encrypt DNS challenge config
Browse files Browse the repository at this point in the history
  • Loading branch information
deimosfr committed Jan 22, 2018
1 parent 75130a4 commit eec9dd3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion kubernetes/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
description: Traefik Helm chart for Kubernetes
name: traefik
version: 0.4.0
version: 0.5.0
5 changes: 3 additions & 2 deletions kubernetes/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ data:
entryPoint = "https"
OnHostRule = true
acmeLogging = true
dnsProvider = "{{ .Values.traefikConfigAcmeDnsProvider }}"
delaydontcheckdns = 20
[acme.dnsChallenge]
provider = "{{ .Values.traefikConfigAcmeDnsProvider }}"
delayBeforeCheck = 20
{{ if .Values.traefikConfigAcmeTest }}caServer = "https://acme-staging.api.letsencrypt.org/directory"{{ end }}
{{- range .Values.traefikConfigAcmeDomains }}
Expand Down
5 changes: 4 additions & 1 deletion kubernetes/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ spec:
initContainers:
- name: {{ template "kubernetes.name" . }}-bootstrap
image: quay.io/mysocialapp/docker-traefik-bootstrap-ha:{{ .Values.traefikImageVersion }}
command: [ '/bin/sh', '-c', '/etc/traefik/bootstrap.sh' ]
command:
- "/bin/sh"
- "-c"
- "cat /etc/traefik/resolv.conf > /etc/resolv.conf ; /bin/sh -c /etc/traefik/bootstrap.sh"
volumeMounts:
- name: traefik-config
mountPath: /etc/traefik
Expand Down

0 comments on commit eec9dd3

Please sign in to comment.