feat: add ingress
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
@@ -6,7 +6,7 @@ mod cuddle_vars;
|
||||
use cuddle_clusters::{
|
||||
catalog::{
|
||||
cluster_vars::ClusterVars, crdb_database::CockroachDB, cuddle_vars::CuddleVars,
|
||||
vault_secret::VaultSecret,
|
||||
ingress::Ingress, vault_secret::VaultSecret,
|
||||
},
|
||||
IntoComponent,
|
||||
};
|
||||
@@ -117,3 +117,20 @@ async fn with_crdb() -> anyhow::Result<()> {
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
async fn with_ingress() -> anyhow::Result<()> {
|
||||
let current_dir = std::env::current_dir()?.join("tests/with_ingress");
|
||||
|
||||
run_test_with_components(
|
||||
"with_ingress",
|
||||
vec![
|
||||
CuddleVars::new(¤t_dir).await?.into_component(),
|
||||
ClusterVars::default().into_component(),
|
||||
Ingress::new(¤t_dir).await?.into_component(),
|
||||
],
|
||||
)
|
||||
.await?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
Reference in New Issue
Block a user