This commit is contained in:
Simen Røstvik 2022-11-15 09:02:23 +01:00
parent 880679d053
commit c917ff6cd5
No known key found for this signature in database

View File

@ -19,44 +19,6 @@ spec:
name: *traefikImage
tag: v2.8.0
pullPolicy: IfNotPresent
deployment:
additionalContainers:
# https://docs.datadoghq.com/developers/dogstatsd/unix_socket/?tab=host
- name: cloudflare
image: ghcr.io/roxedus/pipelines:cloudflared-2022.6.3
args: ["tunnel", "--no-autoupdate", "run", "--token", "$(cloudflared)"]
resources:
limits:
cpu: "800m"
memory: "100Mi"
requests:
cpu: "300m"
memory: "40Mi"
envFrom:
- secretRef:
name: cloudflared-secrets
- image: ghcr.io/roxedus/pipelines:traefik-cloudflare-tunnel-cca7aa94
name: auto-cloudflare
resources:
limits:
cpu: "800m"
memory: "100Mi"
requests:
cpu: "300m"
memory: "40Mi"
envFrom:
- secretRef:
name: auto-cloudflared-secrets
env:
- name: TRAEFIK_SERVICE_ENDPOINT
value: http://localhost:8000
- name: TRAEFIK_API_ENDPOINT
value: http://localhost:9000
- name: TRAEFIK_ENTRYPOINT
value: web
pilot:
enabled: true
experimental:
http3:
@ -69,10 +31,9 @@ spec:
globalArguments: []
additionalArguments:
- "--entryPoints.web.forwardedHeaders.trustedIPs=127.0.0.1/32"
# - "--entryPoints.web.forwardedHeaders.trustedIPs=127.0.0.1/32"
- "--api.insecure=true"
envFrom:
- secretRef:
name: traefik-secrets
@ -98,10 +59,6 @@ spec:
metrics:
port: 9100
expose: true
udp:
port: 6666
protocol: UDP
expose: true
tlsOptions:
default: