Skip to content

Commit

Permalink
OCPBUGS-37059: Relax node placement for operand
Browse files Browse the repository at this point in the history
Remove the master node label from the node selector to relax scheduling
constraints. This change enables proper installation on Hosted Control Plane clusters.
The toleration of the NoSchedule taint remains intact to fit the Single Node
OpenShift usecase.
  • Loading branch information
alebedev87 committed Jul 30, 2024
1 parent 2dcb2ac commit 285074d
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 116 deletions.
3 changes: 1 addition & 2 deletions pkg/operator/controller/externaldns/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,7 @@ func desiredExternalDNSDeployment(cfg *deploymentConfig) (*appsv1.Deployment, er
}

nodeSelectorLbl := map[string]string{
osLabel: linuxOS,
masterNodeRoleLabel: "",
osLabel: linuxOS,
}

tolerations := []corev1.Toleration{
Expand Down
Loading

0 comments on commit 285074d

Please sign in to comment.