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 value: http://localhost:9000
- name: TRAEFIK_ENTRYPOINT - name: TRAEFIK_ENTRYPOINT
value: websecure 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: # volumeMounts:
# - name: dsdsocket # - name: dsdsocket
# mountPath: /socket # mountPath: /socket
@ -399,7 +418,7 @@ traefik:
# Options for the main traefik service, where the entrypoints traffic comes # Options for the main traefik service, where the entrypoints traffic comes
# from. # from.
service: service:
enabled: false enabled: true
type: NodePort type: NodePort
# Additional annotations applied to both TCP and UDP services (e.g. for cloud provider specific config) # Additional annotations applied to both TCP and UDP services (e.g. for cloud provider specific config)
annotations: {} annotations: {}

View File

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