Skip to content

Commit

Permalink
removed node affinity in fetchdata_controller
Browse files Browse the repository at this point in the history
  • Loading branch information
TRudenko22 committed May 27, 2023
1 parent 0e825ed commit 45fd787
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions controllers/fetchdata_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,23 +102,6 @@ func NewCronJob(m *curatorv1alpha1.FetchData, scheme *runtime.Scheme) *batchv1.C
},
},
},
Affinity: &corev1.Affinity{
NodeAffinity: &corev1.NodeAffinity{
RequiredDuringSchedulingIgnoredDuringExecution: &corev1.NodeSelector{
NodeSelectorTerms: []corev1.NodeSelectorTerm{
{
MatchExpressions: []corev1.NodeSelectorRequirement{
{
Key: "app",
Operator: corev1.NodeSelectorOpIn,
Values: []string{"koku-metrics-operator"},
},
},
},
},
},
},
},
Containers: []corev1.Container{
{
Name: "crdunzip",
Expand Down

0 comments on commit 45fd787

Please sign in to comment.