Skip to content

Commit bd8e169

Browse files
committed
fix: blobfuse-proxy install on OpenShift 4.19
1 parent 355ef0c commit bd8e169

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pkg/blobfuse-proxy/init.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ echo "Linux distribution: $DISTRIBUTION, Arch: $ARCH"
3737

3838
# install blobfuse-proxy and blobfuse/blofuse2 if needed
3939
case "${DISTRIBUTION}" in
40-
"rhcos")
40+
"rhcos" | "rhel" | "cos" | "gardenlinux")
4141
. ./blobfuse-proxy/install-proxy-rhcos.sh
4242
;;
4343
*)

pkg/blobfuse-proxy/server/server.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ func getBlobfuseVersion() BlobfuseVersion {
133133
return BlobfuseV2
134134
}
135135

136-
if strings.EqualFold(osinfo.Distro, "rhcos") {
137-
klog.V(2).Info("proxy default using blobfuse V2 for mounting on RHCOS")
136+
if strings.EqualFold(osinfo.Distro, "rhcos") || strings.EqualFold(osinfo.Distro, "rhel") {
137+
klog.V(2).Info("proxy default using blobfuse V2 for mounting on RHCOS/RHEL")
138138
return BlobfuseV2
139139
}
140140

0 commit comments

Comments
 (0)