Skip to content

Commit 4aa97cb

Browse files
Merge pull request #89 from varad-ahirwadkar/status
Depict the correct status for rsct instance
2 parents d450b44 + d053962 commit 4aa97cb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/controller/rsct_controller.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import (
2020
"context"
2121
"fmt"
2222

23+
appsv1 "k8s.io/api/apps/v1"
2324
"k8s.io/apimachinery/pkg/api/errors"
2425
"k8s.io/apimachinery/pkg/runtime"
2526
ctrl "sigs.k8s.io/controller-runtime"
@@ -101,5 +102,6 @@ func (r *RSCTReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.
101102
func (r *RSCTReconciler) SetupWithManager(mgr ctrl.Manager) error {
102103
return ctrl.NewControllerManagedBy(mgr).
103104
For(&rsctv1alpha1.RSCT{}).
105+
Owns(&appsv1.DaemonSet{}).
104106
Complete(r)
105107
}

0 commit comments

Comments
 (0)