Skip to content

Commit

Permalink
Merge pull request #89 from varad-ahirwadkar/status
Browse files Browse the repository at this point in the history
Depict the correct status for rsct instance
  • Loading branch information
ppc64le-cloud-bot authored Jan 18, 2025
2 parents d450b44 + d053962 commit 4aa97cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/controller/rsct_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (
"context"
"fmt"

appsv1 "k8s.io/api/apps/v1"
"k8s.io/apimachinery/pkg/api/errors"
"k8s.io/apimachinery/pkg/runtime"
ctrl "sigs.k8s.io/controller-runtime"
Expand Down Expand Up @@ -101,5 +102,6 @@ func (r *RSCTReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.
func (r *RSCTReconciler) SetupWithManager(mgr ctrl.Manager) error {
return ctrl.NewControllerManagedBy(mgr).
For(&rsctv1alpha1.RSCT{}).
Owns(&appsv1.DaemonSet{}).
Complete(r)
}

0 comments on commit 4aa97cb

Please sign in to comment.