cloudflare / cloudflare/cloudflared

💡 Support per-ingress updates via API

Open
#1,437 1 comment 0 reactions 0 assignees View on GitHub
Priority: Normal Type: Feature Request
Dominant language
Go
Stars
15.6k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

**Describe the feature you'd like**
Currently a tunnel configuration can only be updated with a single "replace everything" call to

```
PUT /accounts/{account_id}/cfd_tunnel/{tunnel_id}/configurations
```

This overwrites all ingress rules, and requires client-side centralized management of ingress rules

However, if you have multiple teams deploying to a k8s cluster, the lack of per-ingress API management means they cannot independently manage their own ingress slice

**Describe alternatives you've considered**
1. currently using the `TunnelBinding` kubernetes CRD from https://github.com/adyanth/cloudflare-operator - you deploy a slice of the ingress rules and the k8s operator will combine rules into a single config and restart cloudflared. This works well, but I'm hearing that locally-managed tunnel configs may soon be deprecated in favour of remotely-managed
2. deploying a tunnel per-ingress. This seems like a wasteful use of cluster resources

**Additional context**
N/A

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.