diff --git a/internal/controller/cluster_controller.go b/internal/controller/cluster_controller.go index 28fc30aa..e58c46b4 100644 --- a/internal/controller/cluster_controller.go +++ b/internal/controller/cluster_controller.go @@ -82,7 +82,7 @@ func (r *ClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ct log.Info("Teleport identity", "last-read-minutes-ago", minutes, "hash", hashString) - if time.Since(r.Teleport.SecretConfig.LastRead) > 1*time.Minute { + if time.Since(r.Teleport.SecretConfig.LastRead) > 20*time.Minute { log.Info("Retrieving new identity", "secretName", key.TeleportBotSecretName) newSecretConfig, err := teleport.GetConfigFromSecret(ctx, r.Client, r.Namespace)