Skip to content

Commit

Permalink
Update cloudflared
Browse files Browse the repository at this point in the history
  • Loading branch information
shift committed Apr 6, 2022
1 parent 43b2631 commit 8781779
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions cloudflared/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Basic chart to deploy cloudflared and establish a cluster.


6 changes: 5 additions & 1 deletion cloudflared/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@ spec:
- "run"
env:
- name: TUNNEL_TOKEN
value: "{{ .Values.token }}"
valueFrom:
secretKeyRef:
name: "{{ .Values.token_secret }}"
key: token
optional: false
ports:
- name: metrics
containerPort: 38732
Expand Down
2 changes: 1 addition & 1 deletion cloudflared/values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
replicaCount: 2
token: ""
token_secret: ""
image:
repository: quay.io/giantswarm/cloudflared
pullPolicy: IfNotPresent
Expand Down

0 comments on commit 8781779

Please sign in to comment.