---- Util functions to control pod's mutation behaviors using CSI ServerfulFuseEnabled decides if FUSE CSI related optimization should be injected, e.g. HostToContainer mountPropagation for FUSE Recovery feature.
(infos map[string]string)
| 50 | |
| 51 | // ServerfulFuseEnabled decides if FUSE CSI related optimization should be injected, e.g. HostToContainer mountPropagation for FUSE Recovery feature. |
| 52 | func ServerfulFuseEnabled(infos map[string]string) (match bool) { |
| 53 | return enabled(infos, common.InjectServerfulFuse) |
| 54 | } |
| 55 | |
| 56 | // |
| 57 | // ---- Util functions to control pod's fuse sidecar mutation behaviors ---- |