run_bootstrap_operator

Function run_bootstrap_operator 

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

Run the operator bootstrap process (bindy bootstrap operator).

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")
  • registry - Optional registry override for air-gapped environments

§Errors

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