36 lines
1021 B
YAML
36 lines
1021 B
YAML
---
|
|
additionalArguments:
|
|
- --providers.file.filename=/data/traefik-config.yaml
|
|
- --entrypoints.websecure.http.tls.certresolver=cloudflare
|
|
- --entrypoints.websecure.http.tls.domains[0].main=example.com
|
|
- --entrypoints.websecure.http.tls.domains[0].sans=*.example.com
|
|
- --certificatesresolvers.cloudflare.acme.dnschallenge.provider=cloudflare
|
|
- --certificatesresolvers.cloudflare.acme.email=mail@example.com
|
|
- --certificatesresolvers.cloudflare.acme.dnschallenge.resolvers=1.1.1.1
|
|
- --certificatesresolvers.cloudflare.acme.storage=/certs/acme.json
|
|
ports:
|
|
web:
|
|
redirectTo: websecure
|
|
env:
|
|
- name: CF_API_EMAIL
|
|
valueFrom:
|
|
secretKeyRef:
|
|
key: email
|
|
name: cloudflare-api-credentials
|
|
- name: CF_API_KEY
|
|
valueFrom:
|
|
secretKeyRef:
|
|
key: apiKey
|
|
name: cloudflare-api-credentials
|
|
ingressRoute:
|
|
dashboard:
|
|
enabled: false
|
|
persistence:
|
|
enabled: true
|
|
path: /certs
|
|
size: 128Mi
|
|
volumes:
|
|
- mountPath: /data
|
|
name: traefik-config
|
|
type: configMap
|