Skip to content

Commit d8488d6

Browse files
committed
feat!: remove certificate management from worker
1 parent 1ff1ad3 commit d8488d6

8 files changed

Lines changed: 0 additions & 743 deletions

File tree

linkup-cli/src/commands/deploy/resources.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1104,10 +1104,6 @@ pub fn cf_resources(
11041104
name: "CLOUDLFLARE_ALL_ZONE_IDS".to_string(),
11051105
text: all_zone_ids.join(","),
11061106
},
1107-
cloudflare::endpoints::workers::WorkersBinding::DurableObjectNamespace {
1108-
name: "CERTIFICATE_LOCKS".to_string(),
1109-
class_name: "CertificateStoreLock".to_string(),
1110-
},
11111107
],
11121108
worker_script_schedules: vec![cloudflare::endpoints::workers::WorkersSchedule {
11131109
cron: Some("0 12 * * 2-6".to_string()),
@@ -1122,10 +1118,6 @@ pub fn cf_resources(
11221118
name: format!("linkup-tunnels-kv-{joined_zone_names}"),
11231119
binding: "LINKUP_TUNNELS".to_string(),
11241120
},
1125-
KvNamespace {
1126-
name: format!("linkup-certificate-cache-kv-{joined_zone_names}"),
1127-
binding: "LINKUP_CERTIFICATE_CACHE".to_string(),
1128-
},
11291121
],
11301122
tunnel_zone_cache_rules: TargetCacheRules {
11311123
name: "default".to_string(),

worker/src/lib.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ use ws::handle_ws_resp;
2323

2424
mod http_error;
2525
mod kv_store;
26-
mod libdns;
27-
mod routes;
2826
mod tunnel;
2927
mod ws;
3028

@@ -99,8 +97,6 @@ pub fn linkup_router(state: LinkupState) -> Router {
9997
.route("/linkup/check", get(always_ok))
10098
.route("/linkup/no-tunnel", get(no_tunnel))
10199
.route("/linkup", any(deprecated_linkup_session_handler))
102-
.merge(routes::certificate_dns::router())
103-
.merge(routes::certificate_cache::router())
104100
.route_layer(from_fn_with_state(state.clone(), authenticate))
105101
// Fallback for all other requests
106102
.fallback(any(linkup_request_handler))

worker/src/libdns.rs

Lines changed: 0 additions & 125 deletions
This file was deleted.

worker/src/routes/certificate_cache.rs

Lines changed: 0 additions & 158 deletions
This file was deleted.

0 commit comments

Comments
 (0)