Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
set KubeImageName for all eve flavors for NOHYPER virt mode.

Signed-off-by: Pramodh Pallapothu <pramodh@zededa.com>
  • Loading branch information
Pramodh Pallapothu committed Mar 26, 2024
1 parent d268e1f commit d2f48fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/pillar/cmd/zedmanager/handledomainmgr.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ func MaybeAddDomainConfig(ctx *zedmanagerContext,
disk.Target = vrs.Target
disk.CustomMeta = vrs.CustomMeta
dc.DiskConfigList = append(dc.DiskConfigList, disk)
// For kubevirt eve native containers (NOHYPER) we need set the KubeImageName in domainconfig
// pods will be launched using that KubeImageName
if aiConfig.FixedResources.VirtualizationMode == types.NOHYPER && ctx.hvTypeKube {
// For NOHYPER type virtualization mode pass the KubeImageName to domainmgr
// pods will be launched using that KubeImageName in kubevirt eve
if aiConfig.FixedResources.VirtualizationMode == types.NOHYPER {
dc.VirtualizationMode = types.NOHYPER
dc.KubeImageName = vrs.ReferenceName
}
Expand Down

0 comments on commit d2f48fc

Please sign in to comment.