Explorar o código

Added changes to the Reconcile function documentation

Elsa Chelala %!s(int64=5) %!d(string=hai) anos
pai
achega
30d2c8648c

+ 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)