run_bootstrap

Function run_bootstrap 

Source
pub async fn run_bootstrap(
    namespace: &str,
    dry_run: bool,
    image_tag: &str,
) -> Result<()>
Expand description

Run the bootstrap process.

When dry_run is true, prints the resources that would be applied to stdout (as YAML) without connecting to a cluster. When false, applies each resource via server-side apply (idempotent — safe to run multiple times).

§Arguments

  • namespace - Namespace to install bindy into (default: bindy-system)
  • dry_run - If true, print what would be applied without applying
  • image_tag - Image tag for the operator Deployment (e.g. "v0.5.0" or "latest")

§Errors

Returns error if Kubernetes API calls fail (in non-dry-run mode).