Skip to content

Commit

Permalink
modifying comment
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Leites <[email protected]>
  • Loading branch information
Bryce-Soghigian and tallaxes authored Feb 18, 2025
1 parent 7273ffb commit e7d0f79
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/providers/imagefamily/bootstrap/aksbootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -455,8 +455,7 @@ func (a AKS) applyOptions(nbv *NodeBootstrapVariables) {
nbv.ResourceGroup = a.ResourceGroup
nbv.UserAssignedIdentityID = a.KubeletIdentityClientID

// if we are using overlay, we delegate the installation of the cni to the cns daemonset and will put none as to not drop the
// 10-azure.conflist that will use nodesubnet
// In some cases we don't need the node to do anything with CNI so tell it NetworkPlugin is 'none'
nbv.NetworkPlugin = lo.Ternary(a.NetworkPluginMode == consts.NetworkPluginModeOverlay, consts.NetworkPluginNone, a.NetworkPlugin)

nbv.NetworkPolicy = a.NetworkPolicy
Expand Down

0 comments on commit e7d0f79

Please sign in to comment.