Compare commits

...

9 Commits

Author SHA1 Message Date
46507aad6c fix: wrong args
All checks were successful
lint-and-test / lint-helm (push) Successful in 12s
release-charts-cloudflared / release (push) Successful in 21s
lint-and-test / chart-testing (push) Successful in 27s
renovate / renovate (push) Successful in 34s
2026-05-08 00:47:04 -05:00
e8ab4c0132 feat: release 3.2.0
All checks were successful
lint-and-test / lint-helm (push) Successful in 17s
release-charts-cloudflared / release (push) Successful in 23s
lint-and-test / chart-testing (push) Successful in 35s
renovate / renovate (push) Successful in 47s
2026-05-07 23:57:28 -05:00
b19e962009 feat: use identifier for service account 2026-05-07 23:57:08 -05:00
1d38d75e91 feat: release 3.1.0
All checks were successful
release-charts-cloudflared / release (push) Successful in 18s
lint-and-test / lint-helm (push) Successful in 30s
lint-and-test / chart-testing (push) Successful in 43s
renovate / renovate (push) Successful in 28s
2026-05-07 23:01:33 -05:00
63f791c616 feat: change service account creation 2026-05-07 23:01:12 -05:00
4597405cf8 feat: release 3.0.0
All checks were successful
lint-and-test / lint-helm (push) Successful in 12s
release-charts-cloudflared / release (push) Successful in 17s
lint-and-test / chart-testing (push) Successful in 22s
renovate / renovate (push) Successful in 36s
2026-05-07 22:33:29 -05:00
7bd5e48581 feat: add metrics 2026-05-07 22:32:07 -05:00
0fbd8c98ed feat: change protocol 2026-05-07 22:24:53 -05:00
a12bd66389 feat: name service account 2026-05-07 22:23:18 -05:00
4 changed files with 43 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v2 apiVersion: v2
name: cloudflared name: cloudflared
version: 2.7.1 version: 3.2.1
description: Cloudflared Tunnel description: Cloudflared Tunnel
keywords: keywords:
- cloudflare - cloudflare

View File

@@ -1,6 +1,6 @@
# cloudflared # cloudflared
![Version: 2.7.1](https://img.shields.io/badge/Version-2.7.1-informational?style=flat-square) ![AppVersion: 2026.3.0](https://img.shields.io/badge/AppVersion-2026.3.0-informational?style=flat-square) ![Version: 3.2.1](https://img.shields.io/badge/Version-3.2.1-informational?style=flat-square) ![AppVersion: 2026.3.0](https://img.shields.io/badge/AppVersion-2026.3.0-informational?style=flat-square)
Cloudflared Tunnel Cloudflared Tunnel
@@ -27,7 +27,9 @@ Cloudflared Tunnel
| Key | Type | Default | Description | | Key | Type | Default | Description |
|-----|------|---------|-------------| |-----|------|---------|-------------|
| image | object | `{"pullPolicy":"IfNotPresent","repository":"cloudflare/cloudflared","tag":"2026.3.0@sha256:6b599ca3e974349ead3286d178da61d291961182ec3fe9c505e1dd02c8ac31b0"}` | Default image | | image | object | `{"pullPolicy":"IfNotPresent","repository":"cloudflare/cloudflared","tag":"2026.3.0@sha256:6b599ca3e974349ead3286d178da61d291961182ec3fe9c505e1dd02c8ac31b0"}` | Default image |
| metrics | object | `{"enabled":true}` | Metrics |
| name | string | `""` | Name override of release | | name | string | `""` | Name override of release |
| protocol | string | `"auto"` | Protocol - Available values are auto, http2, and quic. |
| resources | object | `{"requests":{"cpu":"1m","memory":"20Mi"}}` | Default resources | | resources | object | `{"requests":{"cpu":"1m","memory":"20Mi"}}` | Default resources |
| secret | object | `{"existingSecret":{"key":"cf-tunnel-token","name":"cloudflared-secret"},"externalSecret":{"additionalLabels":{},"enabled":true,"nameOverride":"","store":{"name":"openbao","path":"/cloudflare/tunnels","property":"token"}}}` | Secret configuration | | secret | object | `{"existingSecret":{"key":"cf-tunnel-token","name":"cloudflared-secret"},"externalSecret":{"additionalLabels":{},"enabled":true,"nameOverride":"","store":{"name":"openbao","path":"/cloudflare/tunnels","property":"token"}}}` | Secret configuration |
| secret.existingSecret | object | `{"key":"cf-tunnel-token","name":"cloudflared-secret"}` | Name of existing secret that contains Cloudflare token | | secret.existingSecret | object | `{"key":"cf-tunnel-token","name":"cloudflared-secret"}` | Name of existing secret that contains Cloudflare token |

View File

@@ -4,10 +4,14 @@
global: global:
nameOverride: {{ include "cloudflared.name" . }} nameOverride: {{ include "cloudflared.name" . }}
fullNameOverride: {{ include "cloudflared.name" . }} fullNameOverride: {{ include "cloudflared.name" . }}
createDefaultServiceAccount: true
controllers: controllers:
main: main:
type: deployment type: deployment
replicas: 1
strategy: Recreate strategy: Recreate
serviceAccount:
identifier: {{ .Release.Name }}
containers: containers:
main: main:
image: image:
@@ -17,8 +21,12 @@ controllers:
args: args:
- tunnel - tunnel
- --protocol - --protocol
- http2 - {{ .Values.protocol }}
- --no-autoupdate - --no-autoupdate
{{- if .Values.metrics.enabled }}
- --metrics
- 0.0.0.0:20241
{{- end }}
- run - run
- --token - --token
- $(CF_MANAGED_TUNNEL_TOKEN) - $(CF_MANAGED_TUNNEL_TOKEN)
@@ -30,9 +38,29 @@ controllers:
key: {{ include "secret.key" . }} key: {{ include "secret.key" . }}
resources: resources:
{{- with .Values.resources }} {{- with .Values.resources }}
resources:
{{- toYaml . | nindent 10 }} {{- toYaml . | nindent 10 }}
{{ end }} {{ end }}
{{- if .Values.metrics.enabled }}
service:
main:
controller: main
ports:
metrics:
port: 20241
targetPort: 20241
serviceMonitor:
main:
selector:
matchLabels:
app.kubernetes.io/name: {{ include "cloudflared.name" . }}
app.kubernetes.io/instance: {{ include "cloudflared.name" . }}
serviceName: '{{ include "bjw-s.common.lib.chart.names.fullname" $ }}'
endpoints:
- port: metrics
interval: 30s
scrapeTimeout: 10s
path: /metrics
{{- end }}
{{- end -}} {{- end -}}
{{- $_ := mergeOverwrite .Values (include "cloudflared.hardcodedValues" . | fromYaml) -}} {{- $_ := mergeOverwrite .Values (include "cloudflared.hardcodedValues" . | fromYaml) -}}

View File

@@ -1,6 +1,13 @@
# -- Name override of release # -- Name override of release
name: "" name: ""
# -- Protocol - Available values are auto, http2, and quic.
protocol: auto
# -- Metrics
metrics:
enabled: true
# -- Secret configuration # -- Secret configuration
secret: secret: