Small tweaks to bring in line with other Kubernetes tools

This commit is contained in:
2025-04-18 16:06:53 +02:00
parent 2d2ef6903b
commit 884c37aa1b
12 changed files with 84 additions and 33 deletions

View File

@@ -7,6 +7,7 @@ use kube::runtime::controller::{self, Action};
use kube::runtime::reflector::ObjectRef;
use kube::runtime::{Controller, watcher};
use kube::{Api, Client as KubeClient, Resource};
use lldap_controller::VERSION;
use lldap_controller::context::Context;
use lldap_controller::lldap::LldapConfig;
use lldap_controller::resources::{
@@ -47,7 +48,7 @@ async fn main() -> anyhow::Result<()> {
Registry::default().with(logger).with(env_filter).init();
}
info!("Starting controller");
info!(version = VERSION, "Starting");
let client = KubeClient::try_default().await?;