|
|
|
@ -286,7 +286,7 @@ func (r *MsbDeploymentReconciler) SetupWithManager(mgr ctrl.Manager) error {
|
|
|
|
|
return ctrl.NewControllerManagedBy(mgr).
|
|
|
|
|
For(&myAppsv1.MsbDeployment{}).
|
|
|
|
|
Owns(&appsv1.Deployment{}). // 监控 deployment 类型,变更就触发 reconciler
|
|
|
|
|
Owns(&corev1.Service{}). // 监控 service 类型,变更就触发 reconciler
|
|
|
|
|
Owns(&corev1.Service{}). // 监控 service 类型,变更就触发 reconciler
|
|
|
|
|
Owns(&networkv1.Ingress{}). // 监控 ingress 类型,变更就触发 reconciler
|
|
|
|
|
Complete(r)
|
|
|
|
|
}
|
|
|
|
|