Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update traefik configuration
  • Loading branch information
kzh committed May 29, 2020
1 parent 189bd18 commit 06110b0
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 55 deletions.
26 changes: 0 additions & 26 deletions kubernetes/config/traefik.yaml

This file was deleted.

35 changes: 16 additions & 19 deletions kubernetes/helm/traefik.yaml
@@ -1,35 +1,32 @@
image:
name: traefik
tag: 2.2.0
tag: 2.2.1

env:
- name: CLOUDFLARE_EMAIL
valueFrom:
secretKeyRef:
name: cloudflare-dns
key: CLOUDFLARE_EMAIL
- name: CLOUDFLARE_API_KEY
valueFrom:
secretKeyRef:
name: cloudflare-dns
key: CLOUDFLARE_API_KEY

volumes:
- name: traefik-conf
mountPath: "/etc/traefik"
type: configMap
ingressRoute:
dashboard:
enabled: false

service:
enabled: false

ports:
web:
port: 80
port: 8000
hostPort: 80
expose: false
websecure:
port: 443
port: 8443
hostPort: 443
expose: false

additionalArguments:
- "--entryPoints.web.address=:8000"
- "--entryPoints.websecure.address=:8443"
- "--entryPoints.web.http.redirections.entryPoint.to=:443"
- "--api.dashboard"
- "--api.insecure"
- "--providers.kubernetesingress"
- "--providers.kubernetescrd"
- "--log.level=DEBUG"

globalArguments: []
2 changes: 1 addition & 1 deletion kubernetes/resources/cert-manager.yaml
Expand Up @@ -14,4 +14,4 @@ spec:
email: kevinzhenng@gmail.com
apiKeySecretRef:
name: cloudflare-dns
key: CLOUDFLARE_API_KEY
key: CLOUDFLARE_API_KEY
9 changes: 0 additions & 9 deletions kubernetes/resources/traefik.yaml

This file was deleted.

0 comments on commit 06110b0

Please sign in to comment.