Skip to content

Commit

Permalink
Merge pull request #191 from ffromani/fix-kubelet-conf-access-0.13
Browse files Browse the repository at this point in the history
[release-0.13][manual] rte: always mount kubelet config
  • Loading branch information
ffromani authored Apr 6, 2023
2 parents f2cd9ac + b2706ad commit 879e43d
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions pkg/objectupdate/rte/rte.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,11 @@ func DaemonSet(ds *appsv1.DaemonSet, plat platform.Platform, configMapName strin
},
},
})
if opts.NotificationEnable {
rteContainerVolumeMounts = append(rteContainerVolumeMounts, corev1.VolumeMount{
Name: rteKubeletDirVolumeName,
ReadOnly: true,
MountPath: filepath.Join("/", rteKubeletDirVolumeName),
})
}
rteContainerVolumeMounts = append(rteContainerVolumeMounts, corev1.VolumeMount{
Name: rteKubeletDirVolumeName,
ReadOnly: true,
MountPath: filepath.Join("/", rteKubeletDirVolumeName),
})
}

flags := flagcodec.ParseArgvKeyValue(cntSpec.Args)
Expand Down

0 comments on commit 879e43d

Please sign in to comment.