File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -161,12 +161,17 @@ func AddTFDefaultClientConfBeforePatch(
161
161
Value : constants .TFLibsVolumeMountPath ,
162
162
})
163
163
164
- pod .Spec .Containers [injectContainerIndex ].VolumeMounts = append (pod .Spec .Containers [injectContainerIndex ].VolumeMounts , v1.VolumeMount {
165
- Name : constants .TFLibsVolumeName ,
166
- MountPath : constants .LdPreloadFile ,
167
- SubPath : constants .LdPreloadFileName ,
168
- ReadOnly : true ,
169
- })
164
+ pod .Spec .Containers [injectContainerIndex ].VolumeMounts = append (
165
+ pod .Spec .Containers [injectContainerIndex ].VolumeMounts ,
166
+ v1.VolumeMount {
167
+ Name : constants .TFLibsVolumeName ,
168
+ MountPath : constants .LdPreloadFile ,
169
+ SubPath : constants .LdPreloadFileName ,
170
+ ReadOnly : true ,
171
+ }, v1.VolumeMount {
172
+ Name : constants .TFLibsVolumeName ,
173
+ MountPath : constants .TFLibsVolumeMountPath ,
174
+ })
170
175
}
171
176
172
177
if tfInfo .Profile .IsLocalGPU {
You can’t perform that action at this time.
0 commit comments