mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-22 02:07:46 +07:00
Fix tunnel secrets
This commit is contained in:
parent
afc15f27eb
commit
61eb7e01eb
@ -31,10 +31,16 @@ spec:
|
||||
- name: config
|
||||
mountPath: /etc/cloudflared/config
|
||||
readOnly: true
|
||||
- name: certs
|
||||
mountPath: /etc/cloudflared
|
||||
readOnly: true
|
||||
- name: creds
|
||||
mountPath: /etc/cloudflared/creds
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: certs
|
||||
secret:
|
||||
secretName: tunnel-certificates
|
||||
- name: creds
|
||||
secret:
|
||||
secretName: tunnel-credentials
|
||||
@ -51,11 +57,13 @@ metadata:
|
||||
name: cloudflared
|
||||
data:
|
||||
config.yaml: |
|
||||
tunnel: test-tunnel
|
||||
tunnel: homelab
|
||||
credentials-file: /etc/cloudflared/creds/credentials.json
|
||||
metrics: 0.0.0.0:2000
|
||||
no-autoupdate: true
|
||||
ingress:
|
||||
- hostname: git.khuedoan.com
|
||||
service: http://git:80
|
||||
service: http://192.168.1.150
|
||||
- hostname: drone.khuedoan.com
|
||||
service: http://192.168.1.150
|
||||
- service: http_status:404
|
||||
|
Loading…
Reference in New Issue
Block a user