mirror of
https://github.com/plcnk/charts.git
synced 2026-04-06 01:34:23 +00:00
feat(cloudflare): Changed cloudflared command when testing the Chart (#19)
This commit is contained in:
committed by
GitHub
parent
6bd6db84b6
commit
e8e34afecf
@ -4,7 +4,7 @@ description: Connect your resources to Cloudflare without a publicly routable IP
|
||||
home: https://github.com/plcnk/charts/tree/master/charts/cloudflare-tunnel
|
||||
icon: https://raw.githubusercontent.com/plcnk/charts/master/charts/cloudflare-tunnel/icon.svg
|
||||
type: application
|
||||
version: 0.1.0
|
||||
version: 0.1.1
|
||||
# renovate datasource=docker depName=cloudflare/cloudflared
|
||||
appVersion: "2024.8.2"
|
||||
kubeVersion: ">=1.22.0-0"
|
||||
@ -21,8 +21,8 @@ sources:
|
||||
- https://github.com/cloudflare/cloudflared
|
||||
annotations:
|
||||
artifacthub.io/changes: |-
|
||||
- kind: added
|
||||
description: Initial release
|
||||
- kind: changed
|
||||
description: Changed cloudflared command when testing the Chart.
|
||||
artifacthub.io/links: |-
|
||||
- name: App Source
|
||||
url: https://github.com/cloudflare/cloudflared
|
||||
|
||||
@ -102,8 +102,8 @@ helm install cloudflare-tunnel plcnk/cloudflare-tunnel -f values.yaml
|
||||
| controllers.main.type | string | `"deployment"` | Controller type |
|
||||
| logLevel | string | `"info"` | Set the container log level. Accepted values: `debug`, `info`, `warn`, `error`, `fatal` |
|
||||
| metrics | object | `{"enabled":false,"port":""}` | Enable Metrics Monitor under this key. |
|
||||
| tunnel.existingSecret | object | `{"enabled":false,"key":"","name":""}` | You can set the token as an existing secret here. |
|
||||
| tunnel.token | string | `"your-token-here"` | Set the Cloudflare Tunnel token here. |
|
||||
| tunnel.existingSecret | object | `{"enabled":false,"key":"","name":""}` | You can set the token as an existing secret here. Cannot coexist with `tunnel.token` |
|
||||
| tunnel.token | string | `"your-token-here"` | Set the Cloudflare Tunnel token here. Cannot coexist with `tunnel.existingSecret.enabled` set to `true`. |
|
||||
|
||||
---
|
||||
Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs)
|
||||
|
||||
@ -34,6 +34,7 @@ controllers:
|
||||
key: {{ .Values.tunnel.existingSecret.key }}
|
||||
{{- end }}
|
||||
args:
|
||||
{{- if ne .Values.tunnel.token "your-token-here" }}
|
||||
- tunnel
|
||||
- --no-autoupdate
|
||||
{{- if .Values.logLevel }}
|
||||
@ -47,6 +48,10 @@ controllers:
|
||||
- run
|
||||
- --token
|
||||
- $(TUNNEL_TOKEN)
|
||||
{{- else }}
|
||||
- --url
|
||||
- localhost:8080
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
||||
{{- $tmplVars := deepCopy . -}}
|
||||
|
||||
@ -59,8 +59,10 @@ controllers:
|
||||
|
||||
tunnel:
|
||||
# -- Set the Cloudflare Tunnel token here.
|
||||
# Cannot coexist with `tunnel.existingSecret.enabled` set to `true`.
|
||||
token: "your-token-here"
|
||||
# -- You can set the token as an existing secret here.
|
||||
# Cannot coexist with `tunnel.token`
|
||||
existingSecret:
|
||||
enabled: false
|
||||
name: ""
|
||||
|
||||
Reference in New Issue
Block a user