Skip to content

Commit

Permalink
added comment explaining that shadow secret cleanup is indefinite
Browse files Browse the repository at this point in the history
  • Loading branch information
jaireddjawed committed Dec 18, 2024
1 parent 43f0cb5 commit 857159f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controllers/hcpvaultsecretsapp_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ func (r *HCPVaultSecretsAppReconciler) startShadowSecretCleanupRoutine(ctx conte
// cleanup of orphaned shadow secrets runs once every hour
ticker := time.NewTicker(1 * time.Hour)

// this process is expected to run indefinitely
for {
select {
case <-ticker.C:
Expand Down

0 comments on commit 857159f

Please sign in to comment.