Skip to content

Conversation

@t-lo
Copy link
Contributor

@t-lo t-lo commented Oct 19, 2025

What type of PR is this?

/kind feature
/kind bug

What this PR does / why we need it:

Cherry-pick of Flatcar support PR #2209 for release 1.27 as per @andyzhangx's request in #2209 (comment).

Release note:

* Add support for Flatcar Container Linux

t-lo and others added 3 commits October 19, 2025 10:45
This change adds support for Flatcar to the blobfuse installer.
Changes are minimal; we're re-using the rhcos installer script and the
gardenlinux paths.

As Flatcar currently does not ship libfuse, we install it alongside
blobfuse2.

Signed-off-by: Thilo Fromm <[email protected]>
The installer script wants to update the PATH variable to include
$BIN_PATH in blobfuse-proxs's systemd unit by setting:

Environment="PATH=<BIN_PATH>:$PATH"

BIN_PATH is evaluated in the installer script, and $PATH is escaped, to
be evaluated when the service unit runs.
However, environment variables like "$PATH" are NOT evaluated
by systemd in Environment="...". Quoting the documentation:

" Variable expansion is not performed inside the strings
  and the "$" character has no special meaning. "

https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#Environment

This effectively removes all other paths and sets PATH to ONLY <BIN_PATH>.
The resulting environment variable PATH contains the actual contents of
BIN_PATH and a literal '$PATH'.

This commit fixes that by wrapping ExecStart in bash -c '...' and
updating PATH there.
Signed-off-by: Thilo Fromm <[email protected]>
@k8s-ci-robot k8s-ci-robot added kind/feature Categorizes issue or PR as related to a new feature. kind/bug Categorizes issue or PR as related to a bug. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Oct 19, 2025
@k8s-ci-robot
Copy link
Contributor

Hi @t-lo. Thanks for your PR.

I'm waiting for a github.com member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Oct 19, 2025
@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Oct 19, 2025
Copy link
Member

@andyzhangx andyzhangx left a comment

Choose a reason for hiding this comment

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

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. approved Indicates a PR has been approved by an approver from all required OWNERS files. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Oct 19, 2025
Copy link
Member

@andyzhangx andyzhangx left a comment

Choose a reason for hiding this comment

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

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 23, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: andyzhangx, t-lo

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 121070f into kubernetes-sigs:release-1.27 Oct 23, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. kind/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants