This commit is contained in:
Roxedus 2022-06-05 00:36:55 +02:00
parent ab6b9925be
commit c1efe999a6
Signed by: Roxedus
GPG Key ID: 9B4E311961C63639
2 changed files with 21 additions and 2 deletions

View File

@ -66,6 +66,25 @@ traefik:
value: http://localhost:9000
- name: TRAEFIK_ENTRYPOINT
value: websecure
- image: roxedus/playground:cloudflare
name: auto-cloudflare-secure
resources:
limits:
cpu: "800m"
memory: "100Mi"
requests:
cpu: "300m"
memory: "40Mi"
envFrom:
- secretRef:
name: auto-cloudflared-secrets
env:
- name: TRAEFIK_SERVICE_ENDPOINT
value: https://localhost:8443
- name: TRAEFIK_API_ENDPOINT
value: http://localhost:9000
- name: TRAEFIK_ENTRYPOINT
value: websecure
# volumeMounts:
# - name: dsdsocket
# mountPath: /socket
@ -399,7 +418,7 @@ traefik:
# Options for the main traefik service, where the entrypoints traffic comes
# from.
service:
enabled: false
enabled: true
type: NodePort
# Additional annotations applied to both TCP and UDP services (e.g. for cloud provider specific config)
annotations: {}

View File

@ -6,7 +6,7 @@ metadata:
namespace: default
spec:
entryPoints:
- web
- websecure
routes:
- kind: Rule
match: Host(`traefik.roxedus.com`) && ( PathPrefix(`/dashboard`) || PathPrefix(`/api`))