Skip to content

Add --dynamic support to bundle API handler #572

Description

@lockwobr

Feature Summary

Add --dynamic query parameter parsing to the bundle API handler so dynamic install-time values work via the REST API, not just the CLI.

Problem/Use Case

PR #527 added --dynamic flag support to aicr bundle via the CLI (pkg/cli/bundle.go), but the HTTP API handler (pkg/bundler/handler.go) was not updated. parseQueryParams parses set, system-node-selector, etc. from query parameters but has no equivalent for dynamic.

Users calling the bundle API endpoint cannot declare dynamic install-time values — only CLI users can.

Proposed Solution

  1. Add dynamic query parameter parsing in parseQueryParams() using config.ParseDynamicValues()
  2. Wire through to config.WithDynamicValues() in the handler's config creation
  3. Add test coverage for the new parameter

Component

Bundlers, API

Priority

Important (feature parity between CLI and API)

Related

Metadata

Metadata

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions