-
Notifications
You must be signed in to change notification settings - Fork 90
Fix CSI Driver installation on Gardener Linux clusters with read-only /usr filesystem #2067
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
Hi @Copilot. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the 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. |
…bin path Co-authored-by: andyzhangx <[email protected]>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Copilot The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
1 similar comment
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Copilot The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Problem
The Azure Blob Storage CSI driver fails to install on Gardener Linux clusters because the
/usr
filesystem is mounted as read-only, but the installation script attempts to copy theblobfuse-proxy
binary to/host/usr/bin/blobfuse-proxy
.The error encountered is:
Solution
This PR fixes the issue by modifying
pkg/blobfuse-proxy/init.sh
to handlegardenlinux
distribution the same way asrhcos
, which already has a solution for read-only/usr
filesystems.The change is minimal - adding
gardenlinux
to the existing case statement that uses the RHCOS installation script:Key Differences
install-proxy.sh
(default)/host/usr/bin/blobfuse-proxy
/host/usr/lib/systemd/system/
install-proxy-rhcos.sh
(fix)/host/usr/local/bin/blobfuse-proxy
/host/etc/systemd/system/
Impact
gardenlinux
→install-proxy.sh
→ installs to/usr/bin
(read-only) → FAILSgardenlinux
→install-proxy-rhcos.sh
→ installs to/usr/local/bin
(writable) → WORKSTesting
gardenlinux
,rhcos
,ubuntu
,centos
This fix ensures that Gardener Linux clusters can successfully install and run the Azure Blob Storage CSI driver without requiring filesystem modifications.
Fixes #1645.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.