---- Util functions to control pod's fuse sidecar mutation behaviors ----
(infos map[string]string)
| 58 | // |
| 59 | |
| 60 | func InjectCacheDirEnabled(infos map[string]string) (match bool) { |
| 61 | return enabled(infos, common.InjectCacheDir) |
| 62 | } |
| 63 | |
| 64 | func SkipSidecarPostStartInject(infos map[string]string) (match bool) { |
| 65 | return KeyValueMatched(infos, common.InjectSidecarPostStart, common.False) |