Skip to content

Commit 68e499b

Browse files
KPostOfficeopenshift-merge-robot
authored andcommitted
add deployments to owned resources
Signed-off-by: Kevin <[email protected]>
1 parent b050647 commit 68e499b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

controllers/mcad_controller.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ func (r *MCADReconciler) SetupWithManager(mgr ctrl.Manager) error {
249249
Owns(&corev1.Service{}).
250250
Owns(&corev1.ServiceAccount{}).
251251
Owns(&rbacv1.RoleBinding{}).
252+
Owns(&appsv1.Deployment{}).
252253
Watches(
253254
&source.Kind{Type: &rbacv1.ClusterRole{}},
254255
crFromLabels,

0 commit comments

Comments
 (0)