(obj *appsv1.DaemonSet, hostRoot string)
| 867 | } |
| 868 | |
| 869 | func transformHostDevCharVolume(obj *appsv1.DaemonSet, hostRoot string) { |
| 870 | for _, volume := range obj.Spec.Template.Spec.Volumes { |
| 871 | if volume.Name == "host-dev-char" { |
| 872 | volume.HostPath.Path = filepath.Join(hostRoot, "/dev/char") |
| 873 | break |
| 874 | } |
| 875 | } |
| 876 | } |
| 877 | |
| 878 | // apply necessary transforms if a custom driver install directory is configured |
| 879 | func transformForDriverInstallDir(obj *appsv1.DaemonSet, driverInstallDir string) { |
no outgoing calls
no test coverage detected