staircase 0.0.7

Kubernetes Step-based Operator
Documentation
mod crd;
mod r#gen;
mod graphics;
mod reconciler;
mod resources;
mod steps;

fn main() -> Result<(), Box<dyn std::error::Error>> {
    let rt = tokio::runtime::Builder::new_current_thread()
        .enable_all()
        .build()
        .unwrap();

    println!("Starting the Elevator Operator which can go up and down!");

    tracing_subscriber::fmt()
            // enable everything
            .with_max_level(tracing::Level::TRACE)
            // sets this to be the default, global subscriber for this application.
            .init();

    rustls::crypto::ring::default_provider()
        .install_default()
        .expect("could not init TLS");

    let controller = rt.block_on(reconciler::Reconciler::start());
    rt.block_on(controller);

    Ok(())
}