Explorar el Código

Fix event source name

Signed-off-by: Dominic Meddick <dominic.meddick@engineerbetter.com>
Co-authored-by: Amr Fawzy <amr.fawzy@container-solutions.com>
James Cleveland hace 4 años
padre
commit
ea7e0f86b8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      pkg/controllers/pushsecret/pushsecret_controller.go

+ 1 - 1
pkg/controllers/pushsecret/pushsecret_controller.go

@@ -175,7 +175,7 @@ func (r *Reconciler) GetSecretStores(ctx context.Context, ss esapi.PushSecret) (
 }
 }
 
 
 func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error {
 func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error {
-	r.recorder = mgr.GetEventRecorderFor("secret-sink")
+	r.recorder = mgr.GetEventRecorderFor("push-secret")
 
 
 	return ctrl.NewControllerManagedBy(mgr).
 	return ctrl.NewControllerManagedBy(mgr).
 		For(&esapi.PushSecret{}).
 		For(&esapi.PushSecret{}).