feat: add support for custom CIDR ingress/egress rules #60

Merged
johnride merged 3 commits from feat/additionalCidrNetworkPolicy into master 2025-06-12 15:24:09 +00:00
3 changed files with 3 additions and 10 deletions
Showing only changes of commit 5ba3e1f2d2 - Show all commits

View File

@ -6,7 +6,6 @@ use log::{debug, info, warn};
use tokio::sync::OnceCell;
use crate::{
data::Id,
executors::ExecutorError,
interpret::{InterpretError, Outcome},
inventory::Inventory,
@ -18,9 +17,7 @@ use crate::{
use super::{
HelmCommand, K8sclient, Topology,
k8s::K8sClient,
tenant::{
ResourceLimits, TenantConfig, TenantManager, TenantNetworkPolicy, k8s::K8sTenantManager,
},
tenant::{TenantConfig, TenantManager, k8s::K8sTenantManager},
};
struct K8sState {

View File

@ -1,8 +1,7 @@
use super::{config::KubePrometheusConfig, monitoring_alerting::AlertChannel};
use log::info;
use non_blank_string_rs::NonBlankString;
use std::{collections::HashMap, str::FromStr};
use url::Url;
use std::str::FromStr;
use crate::modules::helm::chart::HelmChartScore;

View File

@ -13,10 +13,7 @@ use crate::{
topology::{HelmCommand, Topology},
};
use super::{
config::KubePrometheusConfig, discord_alert_manager::discord_alert_manager_score,
kube_prometheus::kube_prometheus_helm_chart_score,
};
use super::{config::KubePrometheusConfig, kube_prometheus::kube_prometheus_helm_chart_score};
#[derive(Debug, Clone, Serialize)]
pub enum AlertChannel {