We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f713299 commit c1cfd85Copy full SHA for c1cfd85
components/ws-daemon/pkg/cgroup/plugin_fuse_v2.go
@@ -29,6 +29,10 @@ func (c *FuseDeviceEnablerV2) Name() string { return "fuse-device-enabler-v2" }
29
func (c *FuseDeviceEnablerV2) Type() Version { return Version2 }
30
31
func (c *FuseDeviceEnablerV2) Apply(ctx context.Context, opts *PluginOptions) error {
32
+ if val, ok := opts.Annotations["gitpod.io/fuse-device"]; ok && val == "false" {
33
+ return nil
34
+ }
35
+
36
fullCgroupPath := filepath.Join(opts.BasePath, opts.CgroupPath)
37
log.WithField("cgroupPath", fullCgroupPath).Debug("configuring devices")
38
0 commit comments