master
dongming 2 years ago
parent 32ab450fef
commit ff2f23c752

@ -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)
}

@ -1,7 +1,7 @@
cluster:
kind:
name: e2e
retain: true
retain: false
config: |
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4

Loading…
Cancel
Save