Skip to content

Expose bootc version - #294

Merged
Johan-Liebert1 merged 3 commits into
bootc-dev:mainfrom
alicefr:expose-bootc-version
Nov 10, 2026
Merged

Johan-Liebert1 merged 3 commits into
bootc-dev:mainfrom
alicefr:expose-bootc-version

Conversation

@alicefr

@alicefr alicefr commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator

Include bootc version in the bootc node CRD

Adds Executor.Version to run 'bootc --version' on the host, and
bootc.ParseVersion to extract the version string from its output.
Not yet wired up to anything.

Assisted-by: AI
Signed-off-by: Alice Frosi <afrosi@redhat.com>
Reports the version of the bootc binary on the host, as returned by
'bootc --version'. Daemon population comes in a follow-up commit.

Signed-off-by: Alice Frosi <afrosi@redhat.com>
Reads 'bootc --version' via the watcher, caches it since the host
binary only changes across a reboot (which also restarts the
daemon), and writes it into status.bootcVersion on reconcile. A
failure to read the version is logged but does not mark the node
Degraded, since the field is purely informational.

Assisted-by: AI
Signed-off-by: Alice Frosi <afrosi@redhat.com>
@alicefr

alicefr commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator Author

@Mergifyio backport release-0.2

@mergify

mergify Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

backport release-0.2

✅ Backports have been created

Details

Comment on lines +377 to +378
// The version is informational; failing to read it must not block
// updates, so keep the last reported value and carry on.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe some time in the future we'd want to do a different operation based on what version of bootc the node is running. Not a blocker for this PR though

@Johan-Liebert1
Johan-Liebert1 merged commit b3b65fc into bootc-dev:main Nov 10, 2026
17 of 18 checks passed
@alicefr
alicefr deleted the expose-bootc-version branch November 12, 2026 11:51
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.

2 participants