Skip to content

Commit

Permalink
some fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksandr Zimin <[email protected]>
  • Loading branch information
AleksZimin committed May 6, 2024
1 parent 4e9fb54 commit f3e845d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions images/controller/pkg/controller/nfs_storage_class_watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const (

NFSStorageClassProvisioner = "nfs.csi.k8s.io"

NFSStorageClassFinalizerName = "nfsstorageclass.storage.deckhouse.io"
NFSStorageClassFinalizerName = "storage.deckhouse.io/nfs-storage-class-controller"

AllowVolumeExpansionDefaultValue = true

Expand Down Expand Up @@ -111,7 +111,7 @@ func RunNFSStorageClassWatcherController(
}, nil
}

log.Info("[NFSStorageClassReconciler] ends Reconcile for the NFSStorageClass %q", request.Name)
log.Info(fmt.Sprintf("[NFSStorageClassReconciler] ends Reconcile for the NFSStorageClass %q", request.Name))
return reconcile.Result{}, nil
}),
})
Expand Down
7 changes: 7 additions & 0 deletions templates/controller/rbac-for-us.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ rules:
- get
- list
- watch
- apiGroups:
- ""
resources:
- events
verbs:
- create
- list
- apiGroups:
- coordination.k8s.io
resources:
Expand Down

0 comments on commit f3e845d

Please sign in to comment.