diff --git a/Cargo.lock b/Cargo.lock index f8b00a4d..f2a33898 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1149,8 +1149,8 @@ dependencies = [ [[package]] name = "product-config" -version = "0.1.0-nightly" -source = "git+https://github.com/stackabletech/product-config.git?branch=main#6cda9b40cde05b48374c775a0e41c38d2ab238bb" +version = "0.1.0" +source = "git+https://github.com/stackabletech/product-config.git?tag=0.1.0#2c8f66264cceca02d0a7ecb413435041cd7d0ca6" dependencies = [ "java-properties", "regex", @@ -1612,8 +1612,8 @@ dependencies = [ [[package]] name = "stackable-operator" -version = "0.1.0-nightly" -source = "git+https://github.com/stackabletech/operator-rs.git?branch=main#38283c5df040bf82bf2ddc834e9509be6c52ea65" +version = "0.1.0" +source = "git+https://github.com/stackabletech/operator-rs.git?tag=0.1.0#f5d0a3bc783571a9ec6a0947e8dafe99ef675e3d" dependencies = [ "async-trait", "backoff", @@ -1765,9 +1765,9 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" [[package]] name = "tokio" -version = "1.10.1" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92036be488bb6594459f2e03b60e42df6f937fe6ca5c5ffdcb539c6b84dc40f5" +checksum = "b4efe6fc2395938c8155973d7be49fe8d03a843726e285e100a8a383cc0154ce" dependencies = [ "autocfg", "libc", diff --git a/crd/Cargo.toml b/crd/Cargo.toml index 2ecdfe39..9bffe7e7 100644 --- a/crd/Cargo.toml +++ b/crd/Cargo.toml @@ -8,7 +8,7 @@ repository = "https://github.com/stackabletech/opa-operator" version = "0.1.0-nightly" [dependencies] -stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", branch = "main" } +stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "0.1.0" } k8s-openapi = { version = "0.12.0", default-features = false } kube = { version = "0.58", default-features = false, features = ["derive"] } diff --git a/deny.toml b/deny.toml index d855632e..4067aee9 100644 --- a/deny.toml +++ b/deny.toml @@ -56,6 +56,7 @@ license-files = [ [sources] unknown-registry = "deny" unknown-git = "deny" +required-git-spec = "tag" [sources.allow-org] github = ["stackabletech"] diff --git a/operator/Cargo.toml b/operator/Cargo.toml index 58e476d9..a1207c9b 100644 --- a/operator/Cargo.toml +++ b/operator/Cargo.toml @@ -8,9 +8,9 @@ repository = "https://github.com/stackabletech/opa-operator" version = "0.1.0-nightly" [dependencies] -product-config = { git = "https://github.com/stackabletech/product-config.git", branch = "main" } +product-config = { git = "https://github.com/stackabletech/product-config.git", tag = "0.1.0" } stackable-opa-crd = { path = "../crd" } -stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", branch = "main" } +stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "0.1.0" } async-trait = "0.1" futures = "0.3" diff --git a/server/Cargo.toml b/server/Cargo.toml index e7a92f7a..91828677 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -9,7 +9,7 @@ repository = "https://github.com/stackabletech/opa-operator" version = "0.1.0-nightly" [dependencies] -stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", branch = "main" } +stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "0.1.0" } stackable-opa-crd = { path = "../crd" } stackable-opa-operator = { path = "../operator" } @@ -21,7 +21,7 @@ tracing = "0.1" [build-dependencies] built = { version = "0.5", features = ["chrono", "git2"] } -stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", branch = "main" } +stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "0.1.0" } stackable-opa-crd = { path = "../crd" } [package.metadata.deb] diff --git a/server/src/main.rs b/server/src/main.rs index ed107463..c6fbcaf6 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -13,15 +13,6 @@ mod built_info { async fn main() -> Result<(), error::Error> { stackable_operator::logging::initialize_logging("OPA_OPERATOR_LOG"); - stackable_operator::utils::print_startup_string( - built_info::PKG_DESCRIPTION, - built_info::PKG_VERSION, - built_info::GIT_VERSION, - built_info::TARGET, - built_info::BUILT_TIME_UTC, - built_info::RUSTC_VERSION, - ); - // Handle CLI arguments let matches = App::new(built_info::PKG_DESCRIPTION) .author("Stackable GmbH - info@stackable.de") @@ -47,6 +38,15 @@ async fn main() -> Result<(), error::Error> { ]; let product_config_path = cli::handle_productconfig_arg(&matches, paths)?; + stackable_operator::utils::print_startup_string( + built_info::PKG_DESCRIPTION, + built_info::PKG_VERSION, + built_info::GIT_VERSION, + built_info::TARGET, + built_info::BUILT_TIME_UTC, + built_info::RUSTC_VERSION, + ); + let client = client::create_client(Some("opa.stackable.tech".to_string())).await?; if let Err(error) = stackable_operator::crd::wait_until_crds_present(