gardener / gardener-extension-os-coreos

Gardener extension controller for the CoreOS/FlatCar Container Linux operating system.
https://gardener.cloud
Apache License 2.0
4 stars 31 forks source link

Support flatcar version >= 3815.2.0 #93

Closed MichaelEischer closed 7 months ago

MichaelEischer commented 8 months ago

How to categorize this PR?

/area os /kind enhancement

What this PR does / why we need it:

Flatcar starting from version 3815.2.0 has removed torcx support and replaced it with systemd-sysext. The main difference form a user perspective is that the containerd binaries have moved from /run/torcx/unpack/docker/bin to /usr/bin .

This PR updates the extension to (still) prefer binaries in /run/torcx/unpack/docker/bin but to also fall back to /usr/bin if the former don't exit. This allows using both Flatcar versions that still use torcx and those that only use systemd-sysext.

Which issue(s) this PR fixes:

Special notes for your reviewer:

I've manually tested the change with flatcar 3760.2.0 and 3815.2.0. (although still using Gardener 1.79)

Release note:

The extension now supports Flatcar >= 3815.2.0
gardener-robot commented 8 months ago

@MichaelEischer Thank you for your contribution.

gardener-robot-ci-1 commented 8 months ago

Thank you @MichaelEischer for your contribution. Before I can start building your PR, a member of the organization must set the required label(s) {'reviewed/ok-to-test'}. Once started, you can check the build status in the PR checks section below.

robinschneider commented 8 months ago

@vpnachev @rfranzke Could you have a look at it?

MrBatschner commented 8 months ago

/add reviewed/ok-to-test

MichaelEischer commented 8 months ago

@plkokanov I've updated the TODO comments as suggested

MichaelEischer commented 7 months ago

/approve

gardener-robot commented 7 months ago

@MichaelEischer Command /approve is not known.

MichaelEischer commented 7 months ago

@plkokanov Is there anything left to do here to get this PR merged?

robinschneider commented 7 months ago

@plkokanov Is there anything left to do here to get this PR merged?

Would be great to get this merged and released.

plkokanov commented 7 months ago

@plkokanov Is there anything left to do here to get this PR merged? Would be great to get this merged and released.

/cc @danielfoehrKn @marwinski if they would also like to have a look

gardener-robot commented 7 months ago

@timebertt Command /lgtm is not available to you but only to a Maintainer, Member.