diff --git a/README.md b/README.md index e1da358..5c7fcf0 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,8 @@ Usage: robotlb [OPTIONS] --hcloud-token Options: -t, --hcloud-token `HCloud` API token [env: ROBOTLB_HCLOUD_TOKEN=] + --default-network + Default network to use for load balancers. If not set, then only network from the service annotation will be used [env: ROBOTLB_DEFAULT_NETWORK=] --dynamic-node-selector If enabled, the operator will try to find target nodes based on where the target pods are actually deployed. If disabled, the operator will try to find target nodes based on the node selector [env: ROBOTLB_DYNAMIC_NODE_SELECTOR=] --default-lb-retries diff --git a/src/config.rs b/src/config.rs index f848107..7c3a25f 100644 --- a/src/config.rs +++ b/src/config.rs @@ -7,8 +7,8 @@ pub struct OperatorConfig { #[arg(short = 't', long, env = "ROBOTLB_HCLOUD_TOKEN")] pub hcloud_token: String, - // Default network to use for load balancers. - // If not set, then only network from the service annotation will be used. + /// Default network to use for load balancers. + /// If not set, then only network from the service annotation will be used. #[arg(long, env = "ROBOTLB_DEFAULT_NETWORK", default_value = None)] pub default_network: Option,