Skip to content

Commit

Permalink
more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
toelke committed Oct 11, 2024
1 parent 454611e commit 8908524
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/core/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,12 @@ func (h *Handler[I]) handlePodController(instance I) (reconcile.Result, error) {
err = h.checkRequiredChildren(configMaps, secrets, configMapsConfig, secretsConfig)
if err != nil {
// We are missing children but we added watchers for all children so we are done
log.V(0).Info("Waiting for children...", "error", err)
return reconcile.Result{}, nil
}

log.V(0).Info("All children found", "configMaps", fmt.Sprint(configMaps), "secrets", fmt.Sprint(secrets))

hash, err := calculateConfigHash(configMaps, secrets, configMapsConfig, secretsConfig)
if err != nil {
return reconcile.Result{}, fmt.Errorf("error calculating configuration hash: %v", err)
Expand Down

0 comments on commit 8908524

Please sign in to comment.