We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74e8973 commit f816b00Copy full SHA for f816b00
nodeup/pkg/model/context.go
@@ -280,7 +280,7 @@ func (c *NodeupModelContext) UseNodeAuthorizer() bool {
280
281
// UsesSecondaryIP checks if the CNI in use attaches secondary interfaces to the host.
282
func (c *NodeupModelContext) UsesSecondaryIP() bool {
283
- if c.Cluster.Spec.Networking.CNI.UsesSecondaryIP || c.Cluster.Spec.Networking.AmazonVPC != nil {
+ if (c.Cluster.Spec.Networking.CNI != nil && c.Cluster.Spec.Networking.CNI.UsesSecondaryIP) || c.Cluster.Spec.Networking.AmazonVPC != nil {
284
return true
285
}
286
0 commit comments