cloudflare / cloudflare/helm-charts

Cloudflare helm chart does not work when we use secretname reference for secrets.

Open
#86 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Smarty
Stars
141
Forks
96
PR merge metrics
No merged PRs in 30d

Description

I'm trying to deploy the cloudflare tunnel using helm chart and i passed the secret name in the values.yaml file, but it seems like it is not able to read the secret correctly from the secrets. Getting the below error
```
2024-12-16T10:45:33Z ERR Failed to serve quic connection error="Unauthorized: Failed to get tunnel" connIndex=0 event=0
ip=x.x.x.x
2024-12-16T10:45:33Z ERR Register tunnel error from server side error="Unauthorized: Failed to get tunnel" connIndex=0 event=0 ip=x.x.x.x
2024-12-16T10:45:33Z INF Retrying connection in up to 16s connIndex=0 event=0 ip=x.x.x.x
```

but when i modify the chart and pass tunnel token in the argument it is working as expected.
`--token $TOKEN`
To validate further, i create the yaml file from helm chart (using helm template command ) by passing all the values to the `values.yaml`, and created the secret from there and passed the reference of secret name in deployment but still name issue.

Version -- 2024.8.3
chart version -- 0.3.2

Any thoughts?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.