Skip to content

Conversation

@frobware
Copy link
Contributor

@frobware frobware commented Jan 12, 2026

Summary

Remove the bpffsInitImage field from the Config API's DaemonSpec. This field was added in #488 to allow overriding the init container image that mounts bpffs.

This configurability is no longer required because #490 replaces the current init container with one that runs the bpfman-agent binary directly (with a --mount-bpffs flag). The init container will therefore use the same image as the agent container, eliminating the need for a separate configurable image.

Changes

  • Remove BpffsInitImage field from DaemonSpec in the Config API
  • Remove the init container image override logic from configureBpfmanDs
  • Update tests to only cover CSI registrar image overrides
  • Regenerate CRD manifests and OLM bundle

Related

The BpffsInitImage field in DaemonSpec allowed overriding the init
container image that mounts bpffs. This configurability is no longer
required as the init container will use the agent image directly in
subsequent changes.

Remove the field from the API, the corresponding override logic from
the controller, and update the tests to only cover CSI registrar image
overrides.

Signed-off-by: Andrew McDermott <amcdermo@redhat.com>
Regenerate the Config CRD and OLM bundle manifests following the
removal of the BpffsInitImage field from the DaemonSpec API.

Signed-off-by: Andrew McDermott <amcdermo@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant