deployment

This commit is contained in:
Roxedus 2022-07-02 23:08:00 +02:00
parent 658804b41c
commit 8870d0153b
No known key found for this signature in database
GPG Key ID: EBC13557C4D91D7B

View File

@ -19,40 +19,42 @@ spec:
name: *traefikImage
tag: v2.8.0
pullPolicy: IfNotPresent
additionalContainers:
# https://docs.datadoghq.com/developers/dogstatsd/unix_socket/?tab=host
- name: cloudflare
image: cloudflare/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
deployment:
additionalContainers:
# https://docs.datadoghq.com/developers/dogstatsd/unix_socket/?tab=host
- name: cloudflare
image: cloudflare/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