فهرست منبع

Added changes to the Reconcile function documentation

Elsa Chelala 5 سال پیش
والد
کامیت
30d2c8648c
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 3 1
      pkg/controllers/externalsecret/externalsecret_controller.go

+ 3 - 1
pkg/controllers/externalsecret/externalsecret_controller.go

@@ -52,7 +52,9 @@ type Reconciler struct {
 	ControllerClass string
 }
 
-// Reconcile returns a new ExternalSecret object.
+// Reconcile implements the main reconciliation loop
+// for watched objects (ExternalSecret, ClusterSecretStore and SecretStore),
+// and updates/creates a Kubernetes secret based on them.
 func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
 	log := r.Log.WithValues("ExternalSecret", req.NamespacedName)