fix autoscaler

Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com>
This commit is contained in:
天元
2020-10-27 10:19:26 +08:00
parent fecf1a710d
commit 0990e6fa64
37 changed files with 330 additions and 711 deletions
@@ -274,8 +274,6 @@ func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error {
WithAnnotations("controller", "PodSpecWorkload")
return ctrl.NewControllerManagedBy(mgr).
For(&v1alpha1.PodSpecWorkload{}).
Owns(&appsv1.Deployment{}).
Owns(&corev1.Service{}).
Complete(r)
}