derive an agent's backend hosts into the egress allow list at the controller
This commit is contained in:
parent
4f32948a97
commit
c5a876b845
1 changed files with 950 additions and 25 deletions
|
|
@ -621,6 +621,8 @@ pub async fn delete_backend_env(
|
|||
e.problem()
|
||||
})?;
|
||||
|
||||
crate::backend_egress::follow_env(&state, &agent, None).await?;
|
||||
|
||||
tracing::info!(%hive, %agent, "backend env deleted");
|
||||
Ok(StatusCode::NO_CONTENT)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue