forked from github-mirrorer/plcnk-helm-charts
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
|
home: https://github.com/plcnk/charts/tree/master/charts/cloudflare-tunnel
|
||||||
icon: https://raw.githubusercontent.com/plcnk/charts/master/charts/cloudflare-tunnel/icon.svg
|
icon: https://raw.githubusercontent.com/plcnk/charts/master/charts/cloudflare-tunnel/icon.svg
|
||||||
type: application
|
type: application
|
||||||
version: 0.1.0
|
version: 0.1.1
|
||||||
# renovate datasource=docker depName=cloudflare/cloudflared
|
# renovate datasource=docker depName=cloudflare/cloudflared
|
||||||
appVersion: "2024.8.2"
|
appVersion: "2024.8.2"
|
||||||
kubeVersion: ">=1.22.0-0"
|
kubeVersion: ">=1.22.0-0"
|
||||||
@ -21,8 +21,8 @@ sources:
|
|||||||
- https://github.com/cloudflare/cloudflared
|
- https://github.com/cloudflare/cloudflared
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |-
|
artifacthub.io/changes: |-
|
||||||
- kind: added
|
- kind: changed
|
||||||
description: Initial release
|
description: Changed cloudflared command when testing the Chart.
|
||||||
artifacthub.io/links: |-
|
artifacthub.io/links: |-
|
||||||
- name: App Source
|
- name: App Source
|
||||||
url: https://github.com/cloudflare/cloudflared
|
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 |
|
| controllers.main.type | string | `"deployment"` | Controller type |
|
||||||
| logLevel | string | `"info"` | Set the container log level. Accepted values: `debug`, `info`, `warn`, `error`, `fatal` |
|
| 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. |
|
| 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.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. |
|
| 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)
|
Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs)
|
||||||
|
|||||||
@ -34,6 +34,7 @@ controllers:
|
|||||||
key: {{ .Values.tunnel.existingSecret.key }}
|
key: {{ .Values.tunnel.existingSecret.key }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
args:
|
args:
|
||||||
|
{{- if ne .Values.tunnel.token "your-token-here" }}
|
||||||
- tunnel
|
- tunnel
|
||||||
- --no-autoupdate
|
- --no-autoupdate
|
||||||
{{- if .Values.logLevel }}
|
{{- if .Values.logLevel }}
|
||||||
@ -47,6 +48,10 @@ controllers:
|
|||||||
- run
|
- run
|
||||||
- --token
|
- --token
|
||||||
- $(TUNNEL_TOKEN)
|
- $(TUNNEL_TOKEN)
|
||||||
|
{{- else }}
|
||||||
|
- --url
|
||||||
|
- localhost:8080
|
||||||
|
{{- end }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- $tmplVars := deepCopy . -}}
|
{{- $tmplVars := deepCopy . -}}
|
||||||
|
|||||||
@ -59,8 +59,10 @@ controllers:
|
|||||||
|
|
||||||
tunnel:
|
tunnel:
|
||||||
# -- Set the Cloudflare Tunnel token here.
|
# -- Set the Cloudflare Tunnel token here.
|
||||||
|
# Cannot coexist with `tunnel.existingSecret.enabled` set to `true`.
|
||||||
token: "your-token-here"
|
token: "your-token-here"
|
||||||
# -- You can set the token as an existing secret here.
|
# -- You can set the token as an existing secret here.
|
||||||
|
# Cannot coexist with `tunnel.token`
|
||||||
existingSecret:
|
existingSecret:
|
||||||
enabled: false
|
enabled: false
|
||||||
name: ""
|
name: ""
|
||||||
|
|||||||
Reference in New Issue
Block a user