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
- Add
dynamic query parameter parsing in parseQueryParams() using config.ParseDynamicValues()
- Wire through to
config.WithDynamicValues() in the handler's config creation
- Add test coverage for the new parameter
Component
Bundlers, API
Priority
Important (feature parity between CLI and API)
Related
Feature Summary
Add
--dynamicquery 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
--dynamicflag support toaicr bundlevia the CLI (pkg/cli/bundle.go), but the HTTP API handler (pkg/bundler/handler.go) was not updated.parseQueryParamsparsesset,system-node-selector, etc. from query parameters but has no equivalent fordynamic.Users calling the bundle API endpoint cannot declare dynamic install-time values — only CLI users can.
Proposed Solution
dynamicquery parameter parsing inparseQueryParams()usingconfig.ParseDynamicValues()config.WithDynamicValues()in the handler's config creationComponent
Bundlers, API
Priority
Important (feature parity between CLI and API)
Related