diff --git a/api/falcon/v1alpha1/falconnodesensor_types.go b/api/falcon/v1alpha1/falconnodesensor_types.go index 797bff25..15790fe1 100644 --- a/api/falcon/v1alpha1/falconnodesensor_types.go +++ b/api/falcon/v1alpha1/falconnodesensor_types.go @@ -35,7 +35,7 @@ type FalconNodeSensorSpec struct { // +k8s:openapi-gen=true type FalconNodeSensorConfig struct { // Specifies tolerations for custom taints. Defaults to allowing scheduling on all nodes. - // +kubebuilder:default:={{key: "node-role.kubernetes.io/master", operator: "Exists", effect: "NoSchedule"}, {key: "node-role.kubernetes.io/control-plane", operator: "Exists", effect: "NoSchedule"}} + // +kubebuilder:default:={{key: "node-role.kubernetes.io/master", operator: "Exists", effect: "NoSchedule"}, {key: "node-role.kubernetes.io/control-plane", operator: "Exists", effect: "NoSchedule"}, {key: "node-role.kubernetes.io/infra", operator: "Exists", effect: "NoSchedule"}} // +operator-sdk:csv:customresourcedefinitions:type=spec,order=4 Tolerations []corev1.Toleration `json:"tolerations,omitempty"` diff --git a/config/crd/bases/falcon.crowdstrike.com_falconnodesensors.yaml b/config/crd/bases/falcon.crowdstrike.com_falconnodesensors.yaml index b04ec39b..ea9da505 100644 --- a/config/crd/bases/falcon.crowdstrike.com_falconnodesensors.yaml +++ b/config/crd/bases/falcon.crowdstrike.com_falconnodesensors.yaml @@ -464,6 +464,9 @@ spec: - effect: NoSchedule key: node-role.kubernetes.io/control-plane operator: Exists + - effect: NoSchedule + key: node-role.kubernetes.io/infra + operator: Exists description: Specifies tolerations for custom taints. Defaults to allowing scheduling on all nodes. items: