K3s-cluster/helm/traefik/values.yaml
2022-06-24 20:43:24 +02:00

55 lines
1.6 KiB
YAML

ports:
admin:
port: 8080
expose: true
exposePort: 8080
protocol: TCP
minecrafttcp:
port: 25565
expose: true
exposePort: 25565
protocol: TCP
web:
redirectTo: websecure
additionalArguments:
- --log.level=DEBUG
- --entrypoints.websecure.http.tls=true
- --entrypoints.websecure.http.tls.certresolver=letsencrypt
- --entrypoints.websecure.http.tls.domains[0].main=beta.halia.dev
- --entrypoints.websecure.http.tls.domains[0].sans=*.beta.halia.dev
- --certificatesresolvers.letsencrypt.acme.tlschallenge=true
- --certificatesresolvers.letsencrypt.acme.dnschallenge=true
- --certificatesresolvers.letsencrypt.acme.dnschallenge.provider=ovh
- --certificatesresolvers.letsencrypt.acme.dnschallenge.resolvers=1.1.1.1
- --certificatesresolvers.letsencrypt.acme.email=tanguy.herbron@outlook.com
- --certificatesresolvers.letsencrypt.acme.storage=/certs/acme.json
env:
- name: OVH_APPLICATION_KEY
valueFrom:
secretKeyRef:
key: appKey
name: ovh-api-credentials
- name: OVH_APPLICATION_SECRET
valueFrom:
secretKeyRef:
key: appSecret
name: ovh-api-credentials
- name: OVH_CONSUMER_KEY
valueFrom:
secretKeyRef:
key: consumerKey
name: ovh-api-credentials
- name: OVH_ENDPOINT
valueFrom:
secretKeyRef:
key: endpoint
name: ovh-api-credentials
persistence:
enabled: true
path: /certs
size: 128Mi
storageClass: "local-path"