Fix tunnel secrets

This commit is contained in:
Khue Doan 2021-06-27 13:07:28 +07:00
parent afc15f27eb
commit 61eb7e01eb
No known key found for this signature in database
GPG Key ID: 4C1A90A461B3C27B

View File

@ -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