Skip to content

Commit

Permalink
distinguish scales from our pdbwatcher vs scales from other owners an…
Browse files Browse the repository at this point in the history
…d keep minAvailable up near replicas.
  • Loading branch information
sushmak295 committed Feb 4, 2025
1 parent b003e0e commit a90849f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/deployment_to_pdb_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,6 @@ func (r *DeploymentToPDBReconciler) SetupWithManager(mgr ctrl.Manager) error {
//return e.ObjectOld.GetGeneration() != e.ObjectNew.GetGeneration()
},
}).
//Owns(&policyv1.PodDisruptionBudget{}). // Watch PDBs for ownership
Owns(&policyv1.PodDisruptionBudget{}). // Watch PDBs for ownership
Complete(r)
}

0 comments on commit a90849f

Please sign in to comment.