pub async fn run_bootstrap_scout(
namespace: &str,
dry_run: bool,
opts: &ScoutDeploymentOptions<'_>,
) -> Result<()>Expand description
Run the scout bootstrap process (bindy bootstrap scout).
Applies the namespace, all CRDs (shared with the operator), and all scout-specific RBAC resources and the scout Deployment.
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 scout into (default:bindy-system)dry_run- If true, print what would be applied without applyingopts- Deployment configuration (image, registry, cluster name, IPs, zone, remote secret)
§Errors
Returns error if Kubernetes API calls fail (in non-dry-run mode).