Skip to content

Instantly share code, notes, and snippets.

@gregtap
Created April 15, 2020 11:29
Show Gist options
  • Save gregtap/9f52c7729c58d74c22acde18056203bf to your computer and use it in GitHub Desktop.
Save gregtap/9f52c7729c58d74c22acde18056203bf to your computer and use it in GitHub Desktop.
# Cloudflare Argo Sidecard
- name: tunnel
image: visibilityspots/cloudflared
imagePullPolicy: Always
command: ["cloudflared", "tunnel"]
args:
- --url=http://127.0.0.1:8500
- --hostname=api.chefclub.io
- --lb-pool=api-lb-pool
- --origincert=/etc/cloudflared/cert.pem
- --no-autoupdate
env:
- name: POD_NAME
value: tunnel
resources:
limits:
cpu: 10m
memory: 20Mi
requests:
cpu: 10m
memory: 20Mi
volumeMounts:
- mountPath: /etc/cloudflared
name: tunnel-secret
readOnly: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment